2026-04-21 01:16:07 +00:00
|
|
|
[gd_scene format=3 uid="uid://btxq5hrirovod"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cebn6t5n1cwib" path="res://scripts/platform.gd" id="1_e2o6t"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://jsnpm50wknk2" path="res://scripts/game.gd" id="1_fc0e3"]
|
2026-04-28 01:08:27 +00:00
|
|
|
[ext_resource type="Script" uid="uid://cxlpex21vgnla" path="res://scripts/scenemanager.gd" id="2_ryrav"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d0wbtenf13iol" path="res://cube.tscn" id="3_7jktm"]
|
2026-04-21 01:16:07 +00:00
|
|
|
[ext_resource type="Script" uid="uid://cdxh14mtlvhl6" path="res://scripts/trigger_circle.gd" id="3_feb5d"]
|
2026-04-28 01:08:27 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://d4nnj62h6fjcq" path="res://scene/character_body_2d.tscn" id="4_ryrav"]
|
2026-04-21 01:16:07 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mwb40"]
|
2026-04-28 01:08:27 +00:00
|
|
|
size = Vector2(368.333, 64.236694)
|
2026-04-21 01:16:07 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_mwb40"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_e2o6t"]
|
|
|
|
|
radius = 153.83757
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D" unique_id=1249397989]
|
2026-04-28 01:08:27 +00:00
|
|
|
position = Vector2(-101, -18)
|
2026-04-21 01:16:07 +00:00
|
|
|
script = ExtResource("1_fc0e3")
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="scene manager" type="Node2D" parent="." unique_id=1165789663]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
position = Vector2(661, 24)
|
|
|
|
|
scale = Vector2(0.97016877, 1.0195743)
|
|
|
|
|
script = ExtResource("2_ryrav")
|
|
|
|
|
|
2026-04-21 01:16:07 +00:00
|
|
|
[node name="platform" type="StaticBody2D" parent="." unique_id=817692358]
|
2026-04-28 01:08:27 +00:00
|
|
|
position = Vector2(421, 536.99994)
|
2026-04-21 01:16:07 +00:00
|
|
|
script = ExtResource("1_e2o6t")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=469432658]
|
|
|
|
|
shape = SubResource("RectangleShape2D_mwb40")
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="left wall" type="StaticBody2D" parent="." unique_id=1287017623]
|
|
|
|
|
position = Vector2(250, 402.99994)
|
|
|
|
|
rotation = 1.4884713
|
|
|
|
|
script = ExtResource("1_e2o6t")
|
|
|
|
|
metadata/_edit_group_ = true
|
2026-04-21 01:16:07 +00:00
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="left wall" unique_id=1720529410]
|
2026-04-21 01:16:07 +00:00
|
|
|
shape = SubResource("RectangleShape2D_mwb40")
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="right wall" type="StaticBody2D" parent="." unique_id=820553779]
|
|
|
|
|
position = Vector2(567, 388.99994)
|
|
|
|
|
rotation = -1.6017642
|
|
|
|
|
script = ExtResource("1_e2o6t")
|
2026-04-21 01:16:07 +00:00
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="right wall" unique_id=22403495]
|
|
|
|
|
shape = SubResource("RectangleShape2D_mwb40")
|
|
|
|
|
|
|
|
|
|
[node name="conveyor" type="StaticBody2D" parent="." unique_id=1750621226]
|
|
|
|
|
position = Vector2(261.99988, 492.00006)
|
|
|
|
|
rotation = -1.5922282
|
|
|
|
|
scale = Vector2(0.86305076, 3.6811934)
|
|
|
|
|
constant_linear_velocity = Vector2(250, 0)
|
|
|
|
|
|
|
|
|
|
[node name="wall left" type="CollisionShape2D" parent="conveyor" unique_id=482160421]
|
|
|
|
|
position = Vector2(231.63736, -442.00055)
|
|
|
|
|
rotation = 1.6034058
|
|
|
|
|
scale = Vector2(0.9552965, 0.99587345)
|
|
|
|
|
shape = SubResource("RectangleShape2D_mwb40")
|
2026-04-21 01:16:07 +00:00
|
|
|
|
|
|
|
|
[node name="world border" type="StaticBody2D" parent="." unique_id=920368740]
|
|
|
|
|
position = Vector2(563, 988)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="world border" unique_id=1075301728]
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_mwb40")
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="CharacterBody2D" parent="." unique_id=44928680 instance=ExtResource("4_ryrav")]
|
|
|
|
|
position = Vector2(373, 474.99994)
|
2026-04-21 01:16:07 +00:00
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=733267557]
|
2026-04-28 01:08:27 +00:00
|
|
|
position = Vector2(945, 535)
|
2026-04-21 01:16:07 +00:00
|
|
|
script = ExtResource("3_feb5d")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=762446279]
|
|
|
|
|
shape = SubResource("CircleShape2D_e2o6t")
|
|
|
|
|
|
2026-04-28 01:08:27 +00:00
|
|
|
[node name="cube container" type="Node2D" parent="." unique_id=22976120]
|
|
|
|
|
|
|
|
|
|
[node name="cube" parent="cube container" unique_id=1851497894 instance=ExtResource("3_7jktm")]
|
|
|
|
|
position = Vector2(366.99994, 37.99997)
|
|
|
|
|
scale = Vector2(0.97196096, 1.0195743)
|
|
|
|
|
|
|
|
|
|
[node name="cube2" parent="cube container" unique_id=1345370216 instance=ExtResource("3_7jktm")]
|
|
|
|
|
position = Vector2(348.99994, -235.00003)
|
|
|
|
|
scale = Vector2(0.97196096, 1.0195743)
|
|
|
|
|
|
|
|
|
|
[node name="cube3" parent="cube container" unique_id=321996969 instance=ExtResource("3_7jktm")]
|
|
|
|
|
position = Vector2(342.99997, -106.00003)
|
|
|
|
|
scale = Vector2(0.97196096, 1.0195743)
|
|
|
|
|
|
2026-04-21 01:16:07 +00:00
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
2026-04-28 01:08:27 +00:00
|
|
|
[connection signal="triggerActiveSignal" from="Area2D" to="." method="on_trigger"]
|