169 lines
6.1 KiB
Plaintext
169 lines
6.1 KiB
Plaintext
[gd_scene load_steps=12 format=4 uid="uid://dmk3hbsrqhgad"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dv6amvxucgy0g" path="res://assets/graphics/enviroment/terrain/Terrain (32x32).png" id="1_ab3a4"]
|
|
[ext_resource type="PackedScene" uid="uid://flumvyk8tafw" path="res://scenes/box.tscn" id="1_ixp3c"]
|
|
[ext_resource type="Script" path="res://scripts/scene_manager.gd" id="1_sylse"]
|
|
[ext_resource type="PackedScene" uid="uid://b6vk2imhuhv0j" path="res://scenes/character.tscn" id="1_umdfo"]
|
|
[ext_resource type="Script" path="res://scripts/trigger.gd" id="2_e4xab"]
|
|
[ext_resource type="PackedScene" uid="uid://e4o5ja1w0gph" path="res://scenes/bullet.tscn" id="4_7436f"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_xdbrn"]
|
|
texture = ExtResource("1_ab3a4")
|
|
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_g2n8d"]
|
|
tile_size = Vector2i(32, 32)
|
|
sources/0 = SubResource("TileSetAtlasSource_xdbrn")
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mhewf"]
|
|
size = Vector2(102, 12)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0jo0r"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_jsnkw"]
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
|
tile_map_data = PackedByteArray("AAAQAA4AAAAAAAAAAAARAA4AAAABAAAAAAASAA4AAAABAAAAAAATAA4AAAACAAAAAAAXAA4AAAAAAAQAAAAYAA4AAAABAAQAAAAZAA4AAAABAAQAAAAaAA4AAAACAAQAAAAdAAwAAAAAAAAAAAAdAA0AAAAAAAEAAAAdAA4AAAAAAAIAAAAeAAwAAAABAAAAAAAeAA0AAAABAAEAAAAeAA4AAAABAAIAAAAfAAwAAAACAAAAAAAfAA0AAAACAAEAAAAfAA4AAAACAAIAAAAiAA4AAAAAAAQAAAAjAA4AAAABAAQAAAAkAA4AAAABAAQAAAAlAA4AAAACAAQAAAAoAAwAAAAAAAQAAAApAAwAAAABAAQAAAAqAAwAAAABAAQAAAArAAwAAAACAAQAAAAPABQAAAABAAAAAAAQABQAAAABAAAAAAARABQAAAABAAAAAAAOABQAAAABAAAAAAALABQAAAABAAAAAAAMABQAAAABAAAAAAANABQAAAABAAAAAAAIABQAAAABAAAAAAAJABQAAAABAAAAAAAKABQAAAABAAAAAAAFABQAAAABAAAAAAAGABQAAAABAAAAAAAHABQAAAABAAAAAAACABQAAAABAAAAAAADABQAAAABAAAAAAAEABQAAAABAAAAAAASABQAAAABAAAAAAATABQAAAABAAAAAAAUABQAAAABAAAAAAAVABQAAAABAAAAAAAWABQAAAABAAAAAAAXABQAAAABAAAAAAAYABQAAAABAAAAAAAZABQAAAABAAAAAAAaABQAAAABAAAAAAAbABQAAAABAAAAAAAcABQAAAABAAAAAAAdABQAAAABAAAAAAAeABQAAAABAAAAAAAfABQAAAABAAAAAAAgABQAAAABAAAAAAAhABQAAAABAAAAAAAiABQAAAABAAAAAAAjABQAAAABAAAAAAAkABQAAAABAAAAAAABABQAAAABAAAAAAAAABQAAAABAAAAAAAlABQAAAABAAAAAAAmABQAAAABAAAAAAAnABQAAAABAAAAAAAoABQAAAABAAAAAAApABQAAAABAAAAAAAqABQAAAABAAAAAAArABQAAAABAAAAAAAsABQAAAABAAAAAAAtABQAAAABAAAAAAAuABQAAAABAAAAAAAvABQAAAABAAAAAAAwABQAAAABAAAAAAAxABQAAAABAAAAAAAyABQAAAABAAAAAAAzABQAAAABAAAAAAA0ABQAAAABAAAAAAA1ABQAAAABAAAAAAA2ABQAAAABAAAAAAA3ABQAAAABAAAAAAA4ABQAAAABAAAAAAA=")
|
|
tile_set = SubResource("TileSet_g2n8d")
|
|
|
|
[node name="SceneManager" type="Node" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("1_sylse")
|
|
|
|
[node name="Platform" type="StaticBody2D" parent="."]
|
|
position = Vector2(576, 455)
|
|
scale = Vector2(1.24, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform6" type="StaticBody2D" parent="."]
|
|
position = Vector2(1154, 455)
|
|
scale = Vector2(1.24, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform6"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform7" type="StaticBody2D" parent="."]
|
|
position = Vector2(1343, 391)
|
|
scale = Vector2(1.24, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform7"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform2" type="StaticBody2D" parent="."]
|
|
position = Vector2(802, 455)
|
|
scale = Vector2(1.24, 1)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform4" type="StaticBody2D" parent="."]
|
|
position = Vector2(976, 391)
|
|
scale = Vector2(0.92, 0.945347)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform4"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform3" type="StaticBody2D" parent="."]
|
|
position = Vector2(331, 455)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="Platform5" type="StaticBody2D" parent="."]
|
|
position = Vector2(137, 363)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform5"]
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
[node name="CharacterBody2D" parent="." instance=ExtResource("1_umdfo")]
|
|
position = Vector2(585, 283)
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2(576, 533)
|
|
scale = Vector2(18.56, 0.640005)
|
|
script = ExtResource("2_e4xab")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("RectangleShape2D_0jo0r")
|
|
debug_color = Color(0.774214, 0.233911, 0.917118, 0.42)
|
|
|
|
[node name="RigidBody2D" parent="." instance=ExtResource("1_ixp3c")]
|
|
position = Vector2(802, 304)
|
|
|
|
[node name="RigidBody2D2" parent="." instance=ExtResource("1_ixp3c")]
|
|
position = Vector2(980, 229)
|
|
|
|
[node name="RigidBody2D3" parent="." instance=ExtResource("1_ixp3c")]
|
|
position = Vector2(533, 301)
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
position = Vector2(581, 642)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
shape = SubResource("WorldBoundaryShape2D_jsnkw")
|
|
|
|
[node name="Area2D2" parent="." instance=ExtResource("4_7436f")]
|
|
position = Vector2(207, 491)
|
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|