2025-07-29 01:08:53 +00:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://dk3bbsqf7yi08"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://c3o8iur48idhr" path="res://scripts/gamecontroller.gd" id="1_lnu2h"]
|
2025-08-12 01:03:09 +00:00
|
|
|
[ext_resource type="Script" uid="uid://vi7u52xttkpb" path="res://scripts/scene_manager.gd" id="2_iywne"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://by6fag0gnv0r4" path="res://scenes/crate.tscn" id="2_lbhrr"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d4db6ttyltd56" path="res://scenes/player.tscn" id="2_lnu2h"]
|
2025-07-29 01:08:53 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://e5y4obsl2kcv" path="res://scenes/trigger.tscn" id="2_yqjtg"]
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
|
|
|
|
size = Vector2(144, 20)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_8cj0n"]
|
|
|
|
|
|
|
|
[node name="game" type="Node2D"]
|
|
|
|
script = ExtResource("1_lnu2h")
|
|
|
|
|
2025-08-12 01:03:09 +00:00
|
|
|
[node name="SceneManager" type="Node2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("2_iywne")
|
|
|
|
|
2025-07-29 01:08:53 +00:00
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(498, 356)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
|
2025-08-12 01:03:09 +00:00
|
|
|
[node name="crate" parent="." instance=ExtResource("2_lbhrr")]
|
|
|
|
position = Vector2(530, 267)
|
2025-07-29 01:08:53 +00:00
|
|
|
|
2025-08-12 01:03:09 +00:00
|
|
|
[node name="crate2" parent="." instance=ExtResource("2_lbhrr")]
|
|
|
|
position = Vector2(769, 273)
|
2025-07-29 01:08:53 +00:00
|
|
|
|
|
|
|
[node name="ground" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(485, 460)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ground"]
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_8cj0n")
|
|
|
|
|
2025-08-12 01:03:09 +00:00
|
|
|
[node name="player" parent="." instance=ExtResource("2_lnu2h")]
|
2025-07-29 01:08:53 +00:00
|
|
|
position = Vector2(472, 333)
|
|
|
|
|
|
|
|
[node name="Area2D" parent="." instance=ExtResource("2_yqjtg")]
|
2025-08-12 01:03:09 +00:00
|
|
|
position = Vector2(494, 403)
|
2025-07-29 01:08:53 +00:00
|
|
|
|
|
|
|
[connection signal="areaTriggerSignal" from="Area2D" to="." method="_on_trigger"]
|