game_singleplayer.tscn 924 B

12345678910111213141516171819202122
  1. [gd_scene load_steps=5 format=3 uid="uid://bf3wnwihk7ymg"]
  2. [ext_resource type="Script" path="res://game.gd" id="2"]
  3. [ext_resource type="PackedScene" uid="uid://ctgumjaytuoch" path="res://level/level.tscn" id="3"]
  4. [ext_resource type="PackedScene" uid="uid://vh7pmputa7r3" path="res://player/player.tscn" id="4"]
  5. [ext_resource type="PackedScene" uid="uid://c7ai4bigaryci" path="res://gui/pause_menu_singleplayer.tscn" id="4_x6l06"]
  6. [node name="Game" type="Node"]
  7. process_mode = 3
  8. script = ExtResource("2")
  9. [node name="Level" parent="." instance=ExtResource("3")]
  10. [node name="Player" parent="Level" instance=ExtResource("4")]
  11. position = Vector2(90, 546)
  12. [node name="InterfaceLayer" type="CanvasLayer" parent="."]
  13. layer = 100
  14. [node name="PauseMenu" parent="InterfaceLayer" instance=ExtResource("4_x6l06")]
  15. [connection signal="coin_collected" from="Level/Player" to="InterfaceLayer/PauseMenu" method="_on_coin_collected"]