2023-07-02 17:23:23 +02:00
|
|
|
[gd_scene load_steps=21 format=3 uid="uid://m8uyi35gr3qd"]
|
2023-06-11 23:38:54 +02:00
|
|
|
|
2023-07-02 17:23:23 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cm58s70te836m" path="res://art/tiles/ground.png" id="1_kvtof"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://lnt0clkwms52" path="res://art/tiles/wall.png" id="2_odoye"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b7565sd31qorm" path="res://art/tiles/destination.png" id="3_plcvy"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d265li1k63anm" path="res://art/tiles/ball_target.png" id="4_k2ia8"]
|
2023-06-13 21:36:01 +02:00
|
|
|
[ext_resource type="Script" path="res://scripts/tile_map/tile_map.gd" id="5_hxvn0"]
|
2023-07-02 17:23:23 +02:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bwv5d4umos2we" path="res://art/tiles/ground_left.png" id="5_uwsf1"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cibnnq23akjqa" path="res://art/tiles/ground_right.png" id="6_tgb06"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bpa4fpmkhv6ao" path="res://art/tiles/ground_bottom.png" id="7_ffh6f"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cs7y54h6hd148" path="res://art/tiles/ground_left_bottom.png" id="8_c76ky"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://rc351wxc3821" path="res://art/tiles/ground_right_bottom.png" id="9_mdsbd"]
|
2023-06-11 23:38:54 +02:00
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_wq1n0"]
|
2023-07-02 17:23:23 +02:00
|
|
|
texture = ExtResource("1_kvtof")
|
2023-06-11 23:38:54 +02:00
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
2023-07-02 17:23:23 +02:00
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
2023-06-11 23:38:54 +02:00
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_u0t08"]
|
2023-07-02 17:23:23 +02:00
|
|
|
texture = ExtResource("2_odoye")
|
2023-06-11 23:38:54 +02:00
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
2023-07-02 17:23:23 +02:00
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 9.5, -16, -7.5, 0, 0.5, 16.5, -7.5, 16.5, 9, -0.5, 17)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
2023-06-11 23:38:54 +02:00
|
|
|
|
2023-06-13 21:36:01 +02:00
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_x1mdb"]
|
2023-07-02 17:23:23 +02:00
|
|
|
texture = ExtResource("3_plcvy")
|
2023-06-13 21:36:01 +02:00
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
2023-07-02 17:23:23 +02:00
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
2023-06-13 21:36:01 +02:00
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hm0kl"]
|
2023-07-02 17:23:23 +02:00
|
|
|
texture = ExtResource("4_k2ia8")
|
2023-06-13 21:36:01 +02:00
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
2023-07-02 17:23:23 +02:00
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_8npvn"]
|
|
|
|
texture = ExtResource("5_uwsf1")
|
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-3.5, -19.5, -19.5, -11, -22.5, -13, -7, -21.5)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_f47wg"]
|
|
|
|
texture = ExtResource("6_tgb06")
|
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(1, 0.5, 16.5, -7, 21, -4.5, 6, 3)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_trdpm"]
|
|
|
|
texture = ExtResource("7_ffh6f")
|
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-18, -6, -2.5, 2, -6.5, 4.5, -22, -4)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_aht32"]
|
|
|
|
texture = ExtResource("8_c76ky")
|
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-2.5, -18.5, -21, -10, -1, 1.5, -7, 2, -29, -10, -5.5, -21)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
|
|
|
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_cx4es"]
|
|
|
|
texture = ExtResource("9_mdsbd")
|
|
|
|
texture_region_size = Vector2i(32, 32)
|
|
|
|
0:0/0 = 0
|
|
|
|
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_0/angular_velocity = 0.0
|
|
|
|
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(16.5, -7.5, -0.5, 2, -18, -6.5, -22.5, -5, 0, 8, 21, -5.5)
|
|
|
|
0:0/0/physics_layer_1/linear_velocity = Vector2(0, 0)
|
|
|
|
0:0/0/physics_layer_1/angular_velocity = 0.0
|
2023-06-13 21:36:01 +02:00
|
|
|
|
2023-06-11 23:38:54 +02:00
|
|
|
[sub_resource type="TileSet" id="TileSet_kwgeq"]
|
|
|
|
tile_shape = 1
|
|
|
|
tile_layout = 5
|
|
|
|
tile_size = Vector2i(32, 16)
|
2023-07-02 17:23:23 +02:00
|
|
|
physics_layer_0/collision_layer = 4
|
|
|
|
physics_layer_0/collision_mask = 3
|
|
|
|
physics_layer_1/collision_layer = 4
|
2023-06-11 23:38:54 +02:00
|
|
|
sources/0 = SubResource("TileSetAtlasSource_wq1n0")
|
|
|
|
sources/1 = SubResource("TileSetAtlasSource_u0t08")
|
2023-06-13 21:36:01 +02:00
|
|
|
sources/2 = SubResource("TileSetAtlasSource_x1mdb")
|
|
|
|
sources/3 = SubResource("TileSetAtlasSource_hm0kl")
|
2023-07-02 17:23:23 +02:00
|
|
|
sources/4 = SubResource("TileSetAtlasSource_8npvn")
|
|
|
|
sources/5 = SubResource("TileSetAtlasSource_f47wg")
|
|
|
|
sources/6 = SubResource("TileSetAtlasSource_trdpm")
|
|
|
|
sources/7 = SubResource("TileSetAtlasSource_aht32")
|
|
|
|
sources/8 = SubResource("TileSetAtlasSource_cx4es")
|
2023-06-11 23:38:54 +02:00
|
|
|
|
|
|
|
[node name="TileMap" type="TileMap"]
|
|
|
|
y_sort_enabled = true
|
2023-07-02 17:23:23 +02:00
|
|
|
position = Vector2(-1, 1)
|
2023-06-11 23:38:54 +02:00
|
|
|
tile_set = SubResource("TileSet_kwgeq")
|
|
|
|
format = 2
|
|
|
|
layer_0/name = "ground"
|
|
|
|
layer_0/y_sort_enabled = true
|
|
|
|
layer_1/name = "wall"
|
|
|
|
layer_1/enabled = true
|
|
|
|
layer_1/modulate = Color(1, 1, 1, 1)
|
|
|
|
layer_1/y_sort_enabled = true
|
|
|
|
layer_1/y_sort_origin = 0
|
|
|
|
layer_1/z_index = 1
|
|
|
|
layer_1/tile_data = PackedInt32Array()
|
2023-06-13 21:36:01 +02:00
|
|
|
script = ExtResource("5_hxvn0")
|