79 lines
3.4 KiB
Plaintext
79 lines
3.4 KiB
Plaintext
[gd_scene format=3 uid="uid://cu1mgc6337asm"]
|
|
|
|
[ext_resource type="Script" uid="uid://cv4ex134wdu7j" path="res://scripts/game.gd" id="1_lnu2h"]
|
|
[ext_resource type="Script" uid="uid://cclb4boli603j" path="res://scripts/scene_manager.gd" id="2_lbhrr"]
|
|
[ext_resource type="PackedScene" uid="uid://b2rjhbe4f20hw" path="res://scenes/crate.tscn" id="3_iywne"]
|
|
[ext_resource type="PackedScene" uid="uid://csp8sgbqjmndx" path="res://scenes/player.tscn" id="5_iywne"]
|
|
[ext_resource type="PackedScene" uid="uid://cq5l3f6hna0kg" 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=304719081]
|
|
script = ExtResource("1_lnu2h")
|
|
|
|
[node name="SceneManager" type="Node2D" parent="." unique_id=277183513]
|
|
script = ExtResource("2_lbhrr")
|
|
|
|
[node name="Player" parent="." unique_id=589925870 instance=ExtResource("5_iywne")]
|
|
position = Vector2(229.99994, 377)
|
|
|
|
[node name="Crates" type="Node2D" parent="." unique_id=1384881921]
|
|
|
|
[node name="Crate" parent="Crates" unique_id=1451413033 instance=ExtResource("3_iywne")]
|
|
position = Vector2(480.99994, 293)
|
|
|
|
[node name="Crate2" parent="Crates" unique_id=1863377672 instance=ExtResource("3_iywne")]
|
|
position = Vector2(622, 305)
|
|
|
|
[node name="LevelELements" type="Node2D" parent="." unique_id=715855559]
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="LevelELements" unique_id=2124897251]
|
|
position = Vector2(265, 413)
|
|
scale = Vector2(14.68, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelELements/StaticBody2D" unique_id=1284307723]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="LevelELements" unique_id=1217525521]
|
|
position = Vector2(673, 417)
|
|
scale = Vector2(14.68, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelELements/StaticBody2D2" unique_id=1959735816]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="LevelELements" unique_id=160438336]
|
|
position = Vector2(474.00006, 331)
|
|
scale = Vector2(4.880001, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelELements/StaticBody2D3" unique_id=751554906]
|
|
shape = SubResource("RectangleShape2D_8cj0n")
|
|
|
|
[node name="StaticBody2D4" type="StaticBody2D" parent="LevelELements" unique_id=849902454]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelELements/StaticBody2D4" unique_id=1145034531]
|
|
position = Vector2(1, 588)
|
|
shape = SubResource("WorldBoundaryShape2D_iywne")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="Triggers" type="Node2D" parent="." unique_id=969407448]
|
|
|
|
[node name="Trigger" parent="Triggers" unique_id=1612521889 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(-352, 112)
|
|
|
|
[node name="Trigger2" parent="Triggers" unique_id=260830386 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(80, 134)
|
|
intent = "fan"
|
|
|
|
[node name="Trigger5" parent="Triggers" unique_id=1243704039 instance=ExtResource("5_p57ef")]
|
|
position = Vector2(265, 56)
|
|
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/Trigger5" to="." method="_on_trigger"]
|