116 lines
3.3 KiB
Plaintext
116 lines
3.3 KiB
Plaintext
[gd_scene load_steps=11 format=4 uid="uid://ibkufgrwjwro"]
|
|
|
|
[ext_resource type="Script" uid="uid://buhkldpol3slp" path="res://scripts/gamecontroller.gd" id="1_3d84a"]
|
|
[ext_resource type="PackedScene" uid="uid://4a4u47173cyb" path="res://Scenes/trigger.tscn" id="2_lptsb"]
|
|
[ext_resource type="Script" uid="uid://bo0opwq3l73ec" path="res://scripts/scene_manager.gd" id="2_t43dh"]
|
|
[ext_resource type="Texture2D" uid="uid://binxtl7gl8psd" path="res://Assets/Graphics/Environment/Terrain/Terrain (32x32).png" id="3_f0he5"]
|
|
[ext_resource type="PackedScene" uid="uid://lwju71dirkcy" path="res://Scenes/Crate.tscn" id="3_u2cf2"]
|
|
[ext_resource type="PackedScene" uid="uid://c5uf1o0s4syv7" path="res://Scenes/player.tscn" id="4_f0he5"]
|
|
[ext_resource type="PackedScene" uid="uid://bex5lhiuhhnq6" path="res://Scenes/static_body_2d.tscn" id="4_xqt3w"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xqt3w"]
|
|
texture = ExtResource("3_f0he5")
|
|
texture_region_size = Vector2i(32, 32)
|
|
0:0/0 = 0
|
|
1:0/0 = 0
|
|
2:0/0 = 0
|
|
4:0/0 = 0
|
|
6:0/0 = 0
|
|
7:0/0 = 0
|
|
9:0/0 = 0
|
|
10:0/0 = 0
|
|
12:0/0 = 0
|
|
13:0/0 = 0
|
|
15:0/0 = 0
|
|
0:1/0 = 0
|
|
1:1/0 = 0
|
|
2:1/0 = 0
|
|
4:1/0 = 0
|
|
6:1/0 = 0
|
|
7:1/0 = 0
|
|
9:1/0 = 0
|
|
10:1/0 = 0
|
|
12:1/0 = 0
|
|
13:1/0 = 0
|
|
15:1/0 = 0
|
|
16:1/0 = 0
|
|
0:2/0 = 0
|
|
1:2/0 = 0
|
|
2:2/0 = 0
|
|
4:2/0 = 0
|
|
6:3/0 = 0
|
|
7:3/0 = 0
|
|
9:3/0 = 0
|
|
10:3/0 = 0
|
|
12:3/0 = 0
|
|
13:3/0 = 0
|
|
15:3/0 = 0
|
|
16:3/0 = 0
|
|
0:4/0 = 0
|
|
1:4/0 = 0
|
|
2:4/0 = 0
|
|
4:4/0 = 0
|
|
6:4/0 = 0
|
|
7:4/0 = 0
|
|
9:4/0 = 0
|
|
10:4/0 = 0
|
|
12:4/0 = 0
|
|
13:4/0 = 0
|
|
15:4/0 = 0
|
|
16:4/0 = 0
|
|
|
|
[sub_resource type="TileSet" id="TileSet_g7vkj"]
|
|
tile_size = Vector2i(32, 32)
|
|
sources/0 = SubResource("TileSetAtlasSource_xqt3w")
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ag0er"]
|
|
|
|
[node name="Game" type="Node2D"]
|
|
script = ExtResource("1_3d84a")
|
|
|
|
[node name="SCENEMANAGER" type="Node2D" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("2_t43dh")
|
|
|
|
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
|
texture_filter = 1
|
|
scale = Vector2(1.00124, 0.995921)
|
|
tile_map_data = PackedByteArray("AAACAAQAAAAAAAAAAAADAAQAAAABAAAAAAAEAAQAAAACAAAAAAAGAAQAAAAAAAAAAAAIAAQAAAACAAAAAAAHAAQAAAABAAAAAAA=")
|
|
tile_set = SubResource("TileSet_g7vkj")
|
|
|
|
[node name="StaticBody2D" parent="." instance=ExtResource("4_xqt3w")]
|
|
position = Vector2(113, 143)
|
|
scale = Vector2(1.11201, 1.40772)
|
|
|
|
[node name="StaticBody2D2" parent="." instance=ExtResource("4_xqt3w")]
|
|
position = Vector2(240, 143)
|
|
|
|
[node name="Crate1" parent="." instance=ExtResource("3_u2cf2")]
|
|
position = Vector2(90, 106)
|
|
|
|
[node name="Crate2" parent="." instance=ExtResource("3_u2cf2")]
|
|
position = Vector2(233, 107)
|
|
|
|
[node name="Crate" parent="." instance=ExtResource("3_u2cf2")]
|
|
position = Vector2(265, 107)
|
|
|
|
[node name="Crate3" parent="." instance=ExtResource("3_u2cf2")]
|
|
position = Vector2(250, 84)
|
|
|
|
[node name="ground" type="StaticBody2D" parent="."]
|
|
position = Vector2(175, 236)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ground"]
|
|
shape = SubResource("WorldBoundaryShape2D_ag0er")
|
|
|
|
[node name="Player" parent="." instance=ExtResource("4_f0he5")]
|
|
position = Vector2(127, 108)
|
|
|
|
[node name="Triggers" type="Node2D" parent="."]
|
|
position = Vector2(176, 113)
|
|
|
|
[node name="player hurt" parent="Triggers" instance=ExtResource("2_lptsb")]
|
|
|
|
[connection signal="areaTriggerSignal" from="Triggers/player hurt" to="." method="_on_trigger"]
|