aprilGame/scene/game.tscn
2026-05-11 15:59:05 -04:00

98 lines
4.0 KiB
Plaintext

[gd_scene format=3 uid="uid://btxq5hrirovod"]
[ext_resource type="Script" uid="uid://jsnpm50wknk2" path="res://scripts/game.gd" id="1_qpk70"]
[ext_resource type="Script" uid="uid://cxlpex21vgnla" path="res://scripts/scenemanager.gd" id="2_ll5lq"]
[ext_resource type="Script" uid="uid://cebn6t5n1cwib" path="res://scripts/platform.gd" id="3_17rxn"]
[ext_resource type="Script" uid="uid://cdxh14mtlvhl6" path="res://scripts/trigger_circle.gd" id="4_yq8tf"]
[ext_resource type="PackedScene" uid="uid://d0wbtenf13iol" path="res://scene/cube.tscn" id="5_ym5sv"]
[ext_resource type="PackedScene" uid="uid://d4nnj62h6fjcq" path="res://scene/character_body_2d.tscn" id="6_sng2h"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mwb40"]
size = Vector2(368.333, 64.236694)
[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]
script = ExtResource("1_qpk70")
[node name="SceneManager" type="Node2D" parent="." unique_id=1165789663]
unique_name_in_owner = true
position = Vector2(661, 24)
scale = Vector2(0.97016877, 1.0195743)
script = ExtResource("2_ll5lq")
[node name="platform" type="StaticBody2D" parent="." unique_id=817692358]
position = Vector2(421, 536.99994)
script = ExtResource("3_17rxn")
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform" unique_id=469432658]
shape = SubResource("RectangleShape2D_mwb40")
[node name="left wall" type="StaticBody2D" parent="." unique_id=1287017623]
position = Vector2(-143, 215)
rotation = 1.4884713
script = ExtResource("3_17rxn")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="left wall" unique_id=1720529410]
shape = SubResource("RectangleShape2D_mwb40")
[node name="right wall" type="StaticBody2D" parent="." unique_id=820553779]
position = Vector2(-483, 92)
rotation = -1.6017642
script = ExtResource("3_17rxn")
metadata/_edit_group_ = true
[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(406.85486, -406.34064)
rotation = 1.6034058
scale = Vector2(0.9552965, 0.99587345)
shape = SubResource("RectangleShape2D_mwb40")
[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")
[node name="Area2D" type="Area2D" parent="." unique_id=733267557]
position = Vector2(945, 535)
script = ExtResource("4_yq8tf")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=762446279]
shape = SubResource("CircleShape2D_e2o6t")
[node name="cube container" type="Node2D" parent="." unique_id=22976120]
[node name="cube" parent="cube container" unique_id=1851497894 instance=ExtResource("5_ym5sv")]
position = Vector2(429.00003, 372)
scale = Vector2(0.97196096, 1.0195743)
[node name="cube2" parent="cube container" unique_id=1345370216 instance=ExtResource("5_ym5sv")]
position = Vector2(921, -508.99997)
scale = Vector2(0.97196096, 1.0195743)
[node name="cube3" parent="cube container" unique_id=321996969 instance=ExtResource("5_ym5sv")]
position = Vector2(978.99994, -294)
scale = Vector2(0.97196096, 1.0195743)
[node name="CharacterBody2D" parent="." unique_id=44928680 instance=ExtResource("6_sng2h")]
position = Vector2(263, 481)
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="triggerActiveSignal" from="Area2D" to="." method="on_trigger"]