159 lines
4.8 KiB
Plaintext
159 lines
4.8 KiB
Plaintext
[gd_scene load_steps=10 format=4 uid="uid://bpvxf6b1pgvw1"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d4lcu5l7nqd2f" path="res://scenes/crate.tscn" id="1_5062r"]
|
|
[ext_resource type="PackedScene" uid="uid://b06r6vtllw0b7" path="res://scenes/player.tscn" id="1_fdutd"]
|
|
[ext_resource type="Script" path="res://scenes/scene_manager.gd" id="1_u3qrg"]
|
|
[ext_resource type="Texture2D" uid="uid://5ab70owk0cn7" path="res://assets/graphics/environment/Terrain (32x32).png" id="2_w2wc2"]
|
|
[ext_resource type="PackedScene" uid="uid://ckvtpjm5q2t0d" path="res://scenes/trigger.tscn" id="3_bhtcy"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_uttar"]
|
|
texture = ExtResource("2_w2wc2")
|
|
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_qu0u3"]
|
|
tile_size = Vector2i(32, 32)
|
|
sources/0 = SubResource("TileSetAtlasSource_uttar")
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_by4gc"]
|
|
size = Vector2(25.75, 20)
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_7qxn5"]
|
|
|
|
[node name="World" type="Node2D"]
|
|
|
|
[node name="SceneManager" type="Node" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("1_u3qrg")
|
|
|
|
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
|
position = Vector2(3, 0)
|
|
tile_map_data = PackedByteArray("AAAHAAgAAAAAAAAAAAAIAAgAAAAAAAAAAAAJAAgAAAAAAAAAAAAKAAgAAAAAAAAAAAALAAgAAAAAAAAAAAAMAAgAAAAAAAAAAAALAAYAAAAEAAQAAAAMAAoAAAAAAAQAAAANAAoAAAABAAQAAAAOAAoAAAACAAQAAAAPAAoAAAAAAAQAAAAQAAoAAAABAAQAAAARAAoAAAACAAQAAAAUAA4AAAAAAAQAAAAVAA4AAAABAAQAAAAWAA4AAAACAAQAAAAQAAwAAAAAAAQAAAARAAwAAAABAAQAAAASAAwAAAACAAQAAAAFAAoAAAAEAAQAAAADAAwAAAAEAAQAAAABAA4AAAAEAAQAAAA=")
|
|
tile_set = SubResource("TileSet_qu0u3")
|
|
|
|
[node name="platform" type="StaticBody2D" parent="."]
|
|
position = Vector2(373, 218)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform2" type="StaticBody2D" parent="."]
|
|
position = Vector2(312, 290)
|
|
scale = Vector2(7.14333, 0.916857)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform2"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform3" type="StaticBody2D" parent="."]
|
|
position = Vector2(486, 340)
|
|
scale = Vector2(7.14333, 0.916857)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform3"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform4" type="StaticBody2D" parent="."]
|
|
position = Vector2(604, 401)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform4"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform5" type="StaticBody2D" parent="."]
|
|
position = Vector2(179, 336)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform5"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform6" type="StaticBody2D" parent="."]
|
|
position = Vector2(115, 402)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform6"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="platform7" type="StaticBody2D" parent="."]
|
|
position = Vector2(51, 465)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="platform7"]
|
|
shape = SubResource("RectangleShape2D_by4gc")
|
|
|
|
[node name="Floor" type="StaticBody2D" parent="."]
|
|
position = Vector2(558, 525)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
|
|
shape = SubResource("WorldBoundaryShape2D_7qxn5")
|
|
|
|
[node name="CharacterBody2D" parent="." groups=["player"] instance=ExtResource("1_fdutd")]
|
|
rotation = -0.00098838
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="CharacterBody2D"]
|
|
|
|
[node name="Area2D" parent="." instance=ExtResource("3_bhtcy")]
|
|
|
|
[node name="RigidBody2D" parent="." groups=["pushables"] instance=ExtResource("1_5062r")]
|
|
position = Vector2(455, 407)
|
|
|
|
[node name="RigidBody2D2" parent="." groups=["pushables"] instance=ExtResource("1_5062r")]
|
|
position = Vector2(453, 166)
|
|
|
|
[node name="RigidBody2D3" parent="." groups=["pushables"] instance=ExtResource("1_5062r")]
|
|
position = Vector2(605, 250)
|
|
|
|
[node name="RigidBody2D4" parent="." groups=["pushables"] instance=ExtResource("1_5062r")]
|
|
position = Vector2(310, 143)
|
|
|
|
[node name="BoxTrapTarget" type="Node2D" parent="."]
|
|
position = Vector2(110, 146)
|