149 lines
4.5 KiB
Plaintext
149 lines
4.5 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://cwuxdg5c8ylmp"]
|
|
|
|
[ext_resource type="Script" uid="uid://cw3ucen7ivcu3" path="res://scripts/gamecontroller.gd" id="1_wj22x"]
|
|
[ext_resource type="Script" uid="uid://bus3b1g717jlm" path="res://scripts/scene_manager.gd" id="2_lbhrr"]
|
|
[ext_resource type="PackedScene" uid="uid://cgk1d1f5ffbbd" path="res://scenes/player.tscn" id="2_lnu2h"]
|
|
[ext_resource type="PackedScene" uid="uid://clf5mhteceas4" path="res://scenes/trigger.tscn" id="3_jlag1"]
|
|
[ext_resource type="Texture2D" uid="uid://c386aypkw54oc" path="res://assets/graphics/terrain/Terrain (32x32).png" id="3_u5sy4"]
|
|
[ext_resource type="PackedScene" uid="uid://cym46ub26gs80" path="res://scenes/crate.tscn" id="4_iywne"]
|
|
[ext_resource type="PackedScene" uid="uid://c633ux67ehud7" path="res://scenes/bullet.tscn" id="6_p57ef"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_gee14"]
|
|
texture = ExtResource("3_u5sy4")
|
|
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_0tnpc"]
|
|
tile_size = Vector2i(32, 32)
|
|
sources/0 = SubResource("TileSetAtlasSource_gee14")
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_um86g"]
|
|
size = Vector2(55.5, 41)
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_16wxc"]
|
|
|
|
[node name="Game" type="Node2D"]
|
|
script = ExtResource("1_wj22x")
|
|
|
|
[node name="SceneManager" type="Node" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("2_lbhrr")
|
|
|
|
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
|
texture_filter = 1
|
|
tile_map_data = PackedByteArray(0, 0, 14, 0, 10, 0, 0, 0, 4, 0, 4, 0, 0, 0, 17, 0, 8, 0, 0, 0, 0, 0, 4, 0, 0, 0, 18, 0, 8, 0, 0, 0, 1, 0, 4, 0, 0, 0, 19, 0, 8, 0, 0, 0, 1, 0, 4, 0, 0, 0, 20, 0, 8, 0, 0, 0, 2, 0, 4, 0, 0, 0)
|
|
tile_set = SubResource("TileSet_0tnpc")
|
|
|
|
[node name="CharacterBody2D" parent="." instance=ExtResource("2_lnu2h")]
|
|
position = Vector2(471, 287)
|
|
|
|
[node name="level" type="Node2D" parent="."]
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="level"]
|
|
position = Vector2(465, 331)
|
|
scale = Vector2(0.600002, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D"]
|
|
position = Vector2(-0.75, 10.5)
|
|
shape = SubResource("RectangleShape2D_um86g")
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="level"]
|
|
position = Vector2(520, 335)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D2"]
|
|
position = Vector2(-0.75, 10.5)
|
|
shape = SubResource("RectangleShape2D_um86g")
|
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="level"]
|
|
position = Vector2(610, 267)
|
|
scale = Vector2(2.2, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D3"]
|
|
position = Vector2(-0.75, 10.5)
|
|
shape = SubResource("RectangleShape2D_um86g")
|
|
|
|
[node name="Floor" type="StaticBody2D" parent="level"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/Floor"]
|
|
position = Vector2(473, 428)
|
|
shape = SubResource("WorldBoundaryShape2D_16wxc")
|
|
|
|
[node name="crates" type="Node2D" parent="."]
|
|
|
|
[node name="RigidBody2D" parent="crates" instance=ExtResource("4_iywne")]
|
|
position = Vector2(407, 407)
|
|
|
|
[node name="RigidBody2D2" parent="crates" instance=ExtResource("4_iywne")]
|
|
position = Vector2(508, 303)
|
|
|
|
[node name="RigidBody2D3" parent="crates" instance=ExtResource("4_iywne")]
|
|
position = Vector2(576, 221)
|
|
|
|
[node name="RigidBody2D4" parent="crates" instance=ExtResource("4_iywne")]
|
|
position = Vector2(403, 324)
|
|
|
|
[node name="RigidBody2D5" parent="crates" instance=ExtResource("4_iywne")]
|
|
position = Vector2(357, 331)
|
|
|
|
[node name="Trigger" parent="." instance=ExtResource("3_jlag1")]
|
|
position = Vector2(189, 316)
|
|
|
|
[node name="Trigger2" parent="." instance=ExtResource("3_jlag1")]
|
|
position = Vector2(638, 390)
|
|
effect = "teleport"
|
|
|
|
[node name="Area2D" parent="." instance=ExtResource("6_p57ef")]
|
|
position = Vector2(366, 300)
|
|
|
|
[connection signal="triggerFired" from="Trigger" to="." method="_on_trigger_fired"]
|
|
[connection signal="triggerFired" from="Trigger2" to="." method="_on_trigger_fired"]
|