2026-04-21 01:09:00 +00:00
|
|
|
[gd_scene format=3 uid="uid://d7n4nyeox11q"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://c6cnqclwk4lcb" path="res://scripts/game_controller.gd" id="1_bj22s"]
|
2026-04-28 01:06:17 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://wt8o0uyqblsv" path="res://scenes/brown_box.tscn" id="2_ca7g5"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://sj5x7sv6o6yb" path="res://scripts/scene_manager.gd" id="2_k3dxm"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bhsvqyhsemekq" path="res://scenes/player.tscn" id="3_k3dxm"]
|
2026-04-21 01:09:00 +00:00
|
|
|
[ext_resource type="Script" uid="uid://gkpbb5sf4gu7" path="res://scripts/area_2d.gd" id="3_v0i7m"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_elsnr"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_bj22s"]
|
|
|
|
|
radius = 20.880613
|
|
|
|
|
|
2026-04-28 01:06:17 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_elsnr"]
|
|
|
|
|
size = Vector2(244, 20)
|
|
|
|
|
|
2026-04-21 01:09:00 +00:00
|
|
|
[node name="GameNode" type="Node2D" unique_id=2127085168]
|
|
|
|
|
position = Vector2(0, -1)
|
|
|
|
|
script = ExtResource("1_bj22s")
|
|
|
|
|
|
2026-04-28 01:06:17 +00:00
|
|
|
[node name="SceneManager" type="Node2D" parent="." unique_id=1765894074]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
script = ExtResource("2_k3dxm")
|
2026-04-21 01:09:00 +00:00
|
|
|
|
|
|
|
|
[node name="worldFloor" type="StaticBody2D" parent="." unique_id=376228153]
|
|
|
|
|
position = Vector2(446, 437)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="worldFloor" unique_id=1759461926]
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_elsnr")
|
|
|
|
|
|
2026-04-28 01:06:17 +00:00
|
|
|
[node name="player" parent="." unique_id=395957349 instance=ExtResource("3_k3dxm")]
|
2026-04-21 01:09:00 +00:00
|
|
|
position = Vector2(555, 272)
|
|
|
|
|
|
|
|
|
|
[node name="area" type="Area2D" parent="." unique_id=2033836703]
|
|
|
|
|
position = Vector2(638, 351)
|
|
|
|
|
script = ExtResource("3_v0i7m")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="area" unique_id=39441311]
|
|
|
|
|
shape = SubResource("CircleShape2D_bj22s")
|
|
|
|
|
debug_color = Color(0.37550476, 0.5048963, 0.9171919, 0.41960785)
|
|
|
|
|
|
2026-04-28 01:06:17 +00:00
|
|
|
[node name="crates" type="Node2D" parent="." unique_id=1870478446]
|
|
|
|
|
|
|
|
|
|
[node name="brownBox" parent="crates" unique_id=143097810 instance=ExtResource("2_ca7g5")]
|
|
|
|
|
position = Vector2(409, 222)
|
|
|
|
|
|
|
|
|
|
[node name="brownBox2" parent="crates" unique_id=1038663129 instance=ExtResource("2_ca7g5")]
|
|
|
|
|
position = Vector2(436, 166)
|
|
|
|
|
|
|
|
|
|
[node name="brownBox4" parent="crates" unique_id=1193856484 instance=ExtResource("2_ca7g5")]
|
|
|
|
|
position = Vector2(472, 211)
|
|
|
|
|
|
|
|
|
|
[node name="brownBox5" parent="crates" unique_id=2032058715 instance=ExtResource("2_ca7g5")]
|
|
|
|
|
position = Vector2(460, 104)
|
|
|
|
|
|
|
|
|
|
[node name="brownBox3" parent="crates" unique_id=170891935 instance=ExtResource("2_ca7g5")]
|
|
|
|
|
position = Vector2(498, 155)
|
|
|
|
|
|
|
|
|
|
[node name="platforms" type="Node2D" parent="." unique_id=637172238]
|
|
|
|
|
|
|
|
|
|
[node name="platform" type="StaticBody2D" parent="platforms" unique_id=1848808292]
|
|
|
|
|
position = Vector2(483, 318)
|
|
|
|
|
constant_linear_velocity = Vector2(15, 0)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platforms/platform" unique_id=79089169]
|
|
|
|
|
shape = SubResource("RectangleShape2D_elsnr")
|
|
|
|
|
|
|
|
|
|
[node name="platform2" type="StaticBody2D" parent="platforms" unique_id=4214019]
|
|
|
|
|
position = Vector2(759, 245)
|
|
|
|
|
constant_linear_velocity = Vector2(15, 0)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platforms/platform2" unique_id=200788977]
|
|
|
|
|
shape = SubResource("RectangleShape2D_elsnr")
|
|
|
|
|
|
|
|
|
|
[node name="platform3" type="StaticBody2D" parent="platforms" unique_id=786694827]
|
|
|
|
|
position = Vector2(1007, 178)
|
|
|
|
|
constant_linear_velocity = Vector2(15, 0)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platforms/platform3" unique_id=1451698215]
|
|
|
|
|
shape = SubResource("RectangleShape2D_elsnr")
|
|
|
|
|
|
|
|
|
|
[node name="platform4" type="StaticBody2D" parent="platforms" unique_id=298215616]
|
|
|
|
|
position = Vector2(219, 383)
|
|
|
|
|
constant_linear_velocity = Vector2(15, 0)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platforms/platform4" unique_id=1906028968]
|
|
|
|
|
shape = SubResource("RectangleShape2D_elsnr")
|
|
|
|
|
|
2026-04-21 01:09:00 +00:00
|
|
|
[connection signal="body_entered" from="area" to="area" method="_on_body_entered"]
|
|
|
|
|
[connection signal="triggerActiveSignal" from="area" to="." method="_on_area_2d_trigger_active_signal"]
|