Game.tscn 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://Game.gd" type="Script" id=1]
  3. [ext_resource path="res://combat/Combat.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://grid_movement/Exploration.tscn" type="PackedScene" id=3]
  5. [sub_resource type="Animation" id=1]
  6. length = 0.5
  7. tracks/0/type = "value"
  8. tracks/0/path = NodePath("Transition/ColorRect:color")
  9. tracks/0/interp = 1
  10. tracks/0/loop_wrap = true
  11. tracks/0/imported = false
  12. tracks/0/enabled = true
  13. tracks/0/keys = {
  14. "times": PoolRealArray( 0, 0.5 ),
  15. "transitions": PoolRealArray( 1, 1 ),
  16. "update": 0,
  17. "values": [ Color( 0.0703125, 0.0703125, 0.0703125, 0 ), Color( 0.0703125, 0.0703125, 0.0703125, 1 ) ]
  18. }
  19. [node name="Game" type="Node"]
  20. script = ExtResource( 1 )
  21. combat_screen = NodePath("Combat")
  22. exploration_screen = NodePath("Exploration")
  23. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  24. anims/fade = SubResource( 1 )
  25. [node name="Transition" type="CanvasLayer" parent="."]
  26. [node name="ColorRect" type="ColorRect" parent="Transition"]
  27. anchor_right = 1.0
  28. anchor_bottom = 1.0
  29. mouse_filter = 1
  30. color = Color( 0.0703125, 0.0703125, 0.0703125, 0 )
  31. __meta__ = {
  32. "_edit_use_anchors_": false
  33. }
  34. [node name="Combat" parent="." instance=ExtResource( 2 )]
  35. visible = false
  36. [node name="Exploration" parent="." instance=ExtResource( 3 )]
  37. [node name="Camera2D" type="Camera2D" parent="."]
  38. offset = Vector2( 640, 360 )
  39. current = true