2024-03-14 04:17:00 +00:00
|
|
|
[gd_scene load_steps=10 format=3 uid="uid://dyxwp5rnxiff7"]
|
2024-02-27 02:54:47 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scenes/game.gd" id="1_cdtng"]
|
2024-03-10 04:51:36 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://7ux0cl08c2ho" path="res://scenes/peernode_directory.tscn" id="1_p0gju"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d3jo4swi2c7ae" path="res://scenes/playernode_directory.tscn" id="2_pvlqw"]
|
2024-03-12 15:38:35 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dc8pe5dnk8kbv" path="res://scenes/phase_tracker.tscn" id="4_kab4c"]
|
2024-03-14 04:17:00 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dnryhtnk21ep1" path="res://scenes/level_manager.tscn" id="5_tdqk1"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://g03qgetpy6b5" path="res://scenes/level_playlist.tscn" id="6_bk2n3"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/level_playlist.gd" id="7_akb5s"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://coh35s53wjxoa" path="res://scenes/golf_level_1.tscn" id="8_h8dsk"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dts4o84p3vj5c" path="res://scenes/golf_level_2.tscn" id="9_2kliu"]
|
2024-02-27 02:54:47 +00:00
|
|
|
|
2024-03-14 04:17:00 +00:00
|
|
|
[node name="Game" type="Node" node_paths=PackedStringArray("peer_dir", "player_dir", "phase_tracker", "level_manager")]
|
2024-02-27 02:54:47 +00:00
|
|
|
script = ExtResource("1_cdtng")
|
2024-03-14 04:17:00 +00:00
|
|
|
peer_dir = NodePath("PeerNodeDirectory")
|
|
|
|
player_dir = NodePath("PlayerNodeDirectory")
|
|
|
|
phase_tracker = NodePath("PhaseTracker")
|
|
|
|
level_manager = NodePath("LevelManager")
|
2024-02-27 02:54:47 +00:00
|
|
|
|
2024-03-10 04:51:36 +00:00
|
|
|
[node name="PeerNodeDirectory" parent="." instance=ExtResource("1_p0gju")]
|
2024-02-28 05:30:45 +00:00
|
|
|
|
2024-03-10 04:51:36 +00:00
|
|
|
[node name="PlayerNodeDirectory" parent="." instance=ExtResource("2_pvlqw")]
|
|
|
|
|
2024-03-12 15:38:35 +00:00
|
|
|
[node name="PhaseTracker" parent="." instance=ExtResource("4_kab4c")]
|
|
|
|
|
2024-03-14 04:17:00 +00:00
|
|
|
[node name="LevelManager" parent="." node_paths=PackedStringArray("playlist", "player_dir") instance=ExtResource("5_tdqk1")]
|
2024-03-18 05:08:31 +00:00
|
|
|
playlist = NodePath("../LevelPlaylist")
|
2024-03-14 04:17:00 +00:00
|
|
|
player_dir = NodePath("../PlayerNodeDirectory")
|
|
|
|
|
2024-03-18 05:08:31 +00:00
|
|
|
[node name="LevelPlaylist" parent="." instance=ExtResource("6_bk2n3")]
|
2024-03-14 04:17:00 +00:00
|
|
|
script = ExtResource("7_akb5s")
|
|
|
|
levels = Array[PackedScene]([ExtResource("8_h8dsk"), ExtResource("9_2kliu")])
|
|
|
|
|
2024-03-18 05:08:31 +00:00
|
|
|
[connection signal="local_peernode_created" from="PeerNodeDirectory" to="." method="_on_peerdir_local_peernode_created"]
|
2024-03-10 04:51:36 +00:00
|
|
|
[connection signal="peernode_identified" from="PeerNodeDirectory" to="." method="_on_peerdir_peernode_identified"]
|
2024-03-11 04:09:33 +00:00
|
|
|
[connection signal="child_entered_tree" from="PlayerNodeDirectory" to="." method="_on_playerdir_playernode_created"]
|
2024-03-18 05:08:31 +00:00
|
|
|
[connection signal="local_playernode_possessed" from="PlayerNodeDirectory" to="." method="_on_playerdir_local_playernode_possessed"]
|
2024-03-10 04:51:36 +00:00
|
|
|
[connection signal="playernode_possessed" from="PlayerNodeDirectory" to="." method="_on_playerdir_playernode_possessed"]
|
2024-03-16 04:25:23 +00:00
|
|
|
[connection signal="playlist_complete" from="LevelManager" to="." method="_on_level_manager_playlist_complete"]
|