game.tscn 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [gd_scene load_steps=6 format=3 uid="uid://8ylj6j3vmxoy"]
  2. [ext_resource type="Script" path="res://game.gd" id="1"]
  3. [ext_resource type="PackedScene" uid="uid://b4aouv6fsdecc" path="res://combat/combat.tscn" id="2"]
  4. [ext_resource type="PackedScene" uid="uid://ckgv4m67a5kfj" path="res://grid_movement/exploration.tscn" id="3"]
  5. [sub_resource type="Animation" id="1"]
  6. length = 0.5
  7. tracks/0/type = "value"
  8. tracks/0/imported = false
  9. tracks/0/enabled = true
  10. tracks/0/path = NodePath("Transition/ColorRect:color")
  11. tracks/0/interp = 1
  12. tracks/0/loop_wrap = true
  13. tracks/0/keys = {
  14. "times": PackedFloat32Array(0, 0.5),
  15. "transitions": PackedFloat32Array(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. [sub_resource type="AnimationLibrary" id="AnimationLibrary_53g8u"]
  20. _data = {
  21. "fade": SubResource("1")
  22. }
  23. [node name="Game" type="Node" node_paths=PackedStringArray("combat_screen", "exploration_screen")]
  24. script = ExtResource("1")
  25. combat_screen = NodePath("Combat")
  26. exploration_screen = NodePath("Exploration")
  27. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  28. libraries = {
  29. "": SubResource("AnimationLibrary_53g8u")
  30. }
  31. [node name="Transition" type="CanvasLayer" parent="."]
  32. [node name="ColorRect" type="ColorRect" parent="Transition"]
  33. visible = false
  34. anchors_preset = 15
  35. anchor_right = 1.0
  36. anchor_bottom = 1.0
  37. mouse_filter = 1
  38. color = Color(0.0703125, 0.0703125, 0.0703125, 0)
  39. [node name="Combat" parent="." instance=ExtResource("2")]
  40. visible = false
  41. [node name="Exploration" parent="." instance=ExtResource("3")]
  42. [node name="Camera2D" type="Camera2D" parent="."]
  43. offset = Vector2(640, 360)