2026-04-21 01:13:00 +00:00
|
|
|
[gd_scene format=3 uid="uid://bcisk0tho1stb"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://ctdwfmqkny8rc" path="res://Scripts/game controller.gd" id="1_qxrlw"]
|
2026-05-05 01:01:53 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bsroh4vsjwblh" path="res://Scenes/crate.tscn" id="2_wowpa"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dmk1mp1hqm62b" path="res://Scenes/player.tscn" id="3_i6g32"]
|
2026-04-21 01:13:00 +00:00
|
|
|
[ext_resource type="Script" uid="uid://kb3v21msvi17" path="res://Scripts/trigger.gd" id="3_wrm1d"]
|
2026-05-05 01:01:53 +00:00
|
|
|
[ext_resource type="Script" uid="uid://qhll446powxt" path="res://Scripts/scene_manager.gd" id="6_1l0tm"]
|
2026-04-21 01:13:00 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
|
|
|
|
size = Vector2(82, 20)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_2poj3"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_3dryh"]
|
|
|
|
|
radius = 18.110771
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D" unique_id=1323011736]
|
|
|
|
|
script = ExtResource("1_qxrlw")
|
|
|
|
|
|
2026-05-05 01:01:53 +00:00
|
|
|
[node name="SceneManager" type="Node2D" parent="." unique_id=711947929]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
position = Vector2(-39, 148)
|
|
|
|
|
script = ExtResource("6_1l0tm")
|
|
|
|
|
|
2026-04-21 01:13:00 +00:00
|
|
|
[node name="platfrom" type="StaticBody2D" parent="." unique_id=446401574]
|
|
|
|
|
position = Vector2(399, 122)
|
|
|
|
|
constant_linear_velocity = Vector2(10, 0)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platfrom" unique_id=1022493365]
|
|
|
|
|
shape = SubResource("RectangleShape2D_2poj3")
|
|
|
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1443311972]
|
|
|
|
|
position = Vector2(402, 247)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1935948289]
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_2poj3")
|
|
|
|
|
|
2026-05-05 01:01:53 +00:00
|
|
|
[node name="Player" parent="." unique_id=872670144 instance=ExtResource("3_i6g32")]
|
2026-04-21 01:13:00 +00:00
|
|
|
position = Vector2(399, 75)
|
|
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=1630381885]
|
|
|
|
|
position = Vector2(447, 155)
|
|
|
|
|
script = ExtResource("3_wrm1d")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=180262903]
|
|
|
|
|
shape = SubResource("CircleShape2D_3dryh")
|
|
|
|
|
debug_color = Color(0.77940935, 0.23498747, 0.906131, 0.41960785)
|
|
|
|
|
|
2026-05-11 19:59:58 +00:00
|
|
|
[node name="Crates" type="Node2D" parent="." unique_id=381122866]
|
|
|
|
|
|
|
|
|
|
[node name="crate1" parent="Crates" unique_id=2099388145 instance=ExtResource("2_wowpa")]
|
|
|
|
|
position = Vector2(331, 234)
|
|
|
|
|
|
|
|
|
|
[node name="RigidBody2D" parent="Crates" unique_id=1094262304 instance=ExtResource("2_wowpa")]
|
|
|
|
|
position = Vector2(447, 47)
|
2026-05-05 01:01:53 +00:00
|
|
|
|
2026-04-21 01:13:00 +00:00
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
|
|
|
|
[connection signal="triggerActiveSignal" from="Area2D" to="." method="_on_triggerSignal"]
|