90 lines
3.8 KiB
Plaintext
90 lines
3.8 KiB
Plaintext
[gd_scene format=3 uid="uid://ch6sfehmsskcs"]
|
|
|
|
[ext_resource type="Script" uid="uid://dtv434qd1rfmu" path="res://scripts/game.gd" id="1_lnu2h"]
|
|
[ext_resource type="Script" uid="uid://b5c00ybml8rj" path="res://scripts/scene_manager.gd" id="2_lbhrr"]
|
|
[ext_resource type="PackedScene" uid="uid://byl4bdrupii3k" path="res://scenes/player.tscn" id="4_iywne"]
|
|
[ext_resource type="PackedScene" uid="uid://b6cmg0k8qjoxi" path="res://scenes/crate.tscn" id="5_iywne"]
|
|
[ext_resource type="PackedScene" uid="uid://b3hgbbmb0nohj" path="res://scenes/trigger.tscn" id="5_p57ef"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_iywne"]
|
|
|
|
[node name="Game" type="Node2D" unique_id=981419409]
|
|
script = ExtResource("1_lnu2h")
|
|
|
|
[node name="SceneManager" type="Node2D" parent="." unique_id=323246552]
|
|
script = ExtResource("2_lbhrr")
|
|
|
|
[node name="Player" parent="." unique_id=2145223914 instance=ExtResource("4_iywne")]
|
|
position = Vector2(490, 380)
|
|
|
|
[node name="Crates" type="Node2D" parent="." unique_id=207771395]
|
|
|
|
[node name="Crate" parent="Crates" unique_id=1609374030 instance=ExtResource("5_iywne")]
|
|
position = Vector2(951, 332.99997)
|
|
|
|
[node name="Crate3" parent="Crates" unique_id=249514132 instance=ExtResource("5_iywne")]
|
|
position = Vector2(731, 340)
|
|
|
|
[node name="Crate2" parent="Crates" unique_id=1603366376 instance=ExtResource("5_iywne")]
|
|
position = Vector2(558, 368)
|
|
|
|
[node name="Walls" type="Node2D" parent="." unique_id=80334518]
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="Walls" unique_id=1863997109]
|
|
position = Vector2(553.00006, 401)
|
|
scale = Vector2(3.4000025, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D" unique_id=1910670137]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D4" type="StaticBody2D" parent="Walls" unique_id=823918434]
|
|
position = Vector2(485.00006, 409)
|
|
scale = Vector2(3.4000025, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D4" unique_id=1243761990]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="Walls" unique_id=2089762008]
|
|
position = Vector2(734.00006, 377)
|
|
scale = Vector2(3.4000025, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D3" unique_id=892222577]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="Walls" unique_id=2038269484]
|
|
position = Vector2(681.00006, 398)
|
|
rotation = -0.7375178
|
|
scale = Vector2(3.4000025, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D2" unique_id=1636593491]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D5" type="StaticBody2D" parent="Walls" unique_id=564687476]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/StaticBody2D5" unique_id=1147447008]
|
|
position = Vector2(0, 588)
|
|
shape = SubResource("WorldBoundaryShape2D_iywne")
|
|
|
|
[node name="Triggers" type="Node2D" parent="." unique_id=1195236992]
|
|
|
|
[node name="Trigger" parent="Triggers" unique_id=229441825 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(621.00006, 465.00006)
|
|
|
|
[node name="Trigger2" parent="Triggers" unique_id=1474950249 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(817, 445)
|
|
intent = "fan"
|
|
|
|
[node name="Trigger3" parent="Triggers" unique_id=205623468 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(953.99994, 442.99997)
|
|
intent = "teleport"
|
|
|
|
[connection signal="areaTriggerSignal" from="Triggers/Trigger" to="." method="_on_trigger"]
|
|
[connection signal="areaTriggerSignal" from="Triggers/Trigger2" to="." method="_on_trigger"]
|
|
[connection signal="areaTriggerSignal" from="Triggers/Trigger3" to="." method="_on_trigger"]
|