Game.tscn 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://Game.gd" type="Script" id=1]
  3. [ext_resource path="res://screens/combat/Combat.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://screens/exploration/Exploration.tscn" type="PackedScene" id=3]
  5. [sub_resource type="Animation" id=1]
  6. length = 0.5
  7. loop = false
  8. step = 0.1
  9. tracks/0/type = "value"
  10. tracks/0/path = NodePath("Transition/ColorRect:color")
  11. tracks/0/interp = 1
  12. tracks/0/loop_wrap = true
  13. tracks/0/imported = false
  14. tracks/0/enabled = true
  15. tracks/0/keys = {
  16. "times": PoolRealArray( 0, 0.5 ),
  17. "transitions": PoolRealArray( 1, 1 ),
  18. "update": 0,
  19. "values": [ Color( 0.0703125, 0.0703125, 0.0703125, 0 ), Color( 0.0703125, 0.0703125, 0.0703125, 1 ) ]
  20. }
  21. [node name="Game" type="Node" index="0"]
  22. script = ExtResource( 1 )
  23. _sections_unfolded = [ "Pause" ]
  24. combat_screen = NodePath("Combat")
  25. exploration_screen = NodePath("Exploration")
  26. [node name="AnimationPlayer" type="AnimationPlayer" parent="." index="0"]
  27. root_node = NodePath("..")
  28. autoplay = ""
  29. playback_process_mode = 1
  30. playback_default_blend_time = 0.0
  31. playback_speed = 1.0
  32. anims/fade = SubResource( 1 )
  33. blend_times = [ ]
  34. [node name="Transition" type="CanvasLayer" parent="." index="1"]
  35. layer = 1
  36. offset = Vector2( 0, 0 )
  37. rotation = 0.0
  38. scale = Vector2( 1, 1 )
  39. transform = Transform2D( 1, 0, 0, 1, 0, 0 )
  40. [node name="ColorRect" type="ColorRect" parent="Transition" index="0"]
  41. anchor_left = 0.0
  42. anchor_top = 0.0
  43. anchor_right = 0.0
  44. anchor_bottom = 0.0
  45. margin_right = 1280.0
  46. margin_bottom = 720.0
  47. rect_pivot_offset = Vector2( 0, 0 )
  48. rect_clip_content = false
  49. mouse_filter = 1
  50. mouse_default_cursor_shape = 0
  51. size_flags_horizontal = 1
  52. size_flags_vertical = 1
  53. color = Color( 0.0703125, 0.0703125, 0.0703125, 0 )
  54. _sections_unfolded = [ "Focus", "Mouse", "Visibility" ]
  55. [node name="Combat" parent="." index="2" instance=ExtResource( 2 )]
  56. visible = false
  57. [node name="Exploration" parent="." index="3" instance=ExtResource( 3 )]