115 lines
3.6 KiB
Text
115 lines
3.6 KiB
Text
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://assets/Tiles/spikes.png" type="Texture" id=1]
|
|
[ext_resource path="res://assets/Tiles/spikes_left.png" type="Texture" id=2]
|
|
[ext_resource path="res://assets/Tiles/spikes_bottom.png" type="Texture" id=3]
|
|
[ext_resource path="res://assets/Tiles/spikes_right.png" type="Texture" id=4]
|
|
|
|
[sub_resource type="OccluderPolygon2D" id=1]
|
|
polygon = PoolVector2Array( 0, 13.9545, 0, 13.7219, 3.48895, 8.37286, 6.97746, 14.1871, 11.6288, 8.1403, 15.3499, 13.7219, 16, 14.1871, 16, 16, 0, 16 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=2]
|
|
points = PoolVector2Array( 16, 16, 0, 16, 2.1503, 7.92169, 13.4183, 7.92712 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=3]
|
|
points = PoolVector2Array( 13.7554, 7.7776, 3.16282, 7.69971, 0, 0, 16, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=4]
|
|
points = PoolVector2Array( 7.75813, 12.6593, 0, 16, 0, 0, 7.83601, 2.26145 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=5]
|
|
points = PoolVector2Array( 8.22545, 2.91456, 16, 0, 16, 16, 8.31891, 13.9433 )
|
|
|
|
[sub_resource type="TileSet" id=6]
|
|
0/name = "spikes.png 0"
|
|
0/texture = ExtResource( 1 )
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
0/region = Rect2( 0, 0, 16, 16 )
|
|
0/tile_mode = 0
|
|
0/occluder_offset = Vector2( 0, 0 )
|
|
0/occluder = SubResource( 1 )
|
|
0/navigation_offset = Vector2( 0, 0 )
|
|
0/shape_offset = Vector2( 0, 0 )
|
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
0/shape = SubResource( 2 )
|
|
0/shape_one_way = false
|
|
0/shape_one_way_margin = 1.0
|
|
0/shapes = [ {
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 2 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
} ]
|
|
0/z_index = 0
|
|
1/name = "spikes_bottom.png 1"
|
|
1/texture = ExtResource( 3 )
|
|
1/tex_offset = Vector2( 0, 0 )
|
|
1/modulate = Color( 1, 1, 1, 1 )
|
|
1/region = Rect2( 0, 0, 16, 16 )
|
|
1/tile_mode = 0
|
|
1/occluder_offset = Vector2( 0, 0 )
|
|
1/navigation_offset = Vector2( 0, 0 )
|
|
1/shape_offset = Vector2( 0, 0 )
|
|
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
1/shape = SubResource( 3 )
|
|
1/shape_one_way = false
|
|
1/shape_one_way_margin = 1.0
|
|
1/shapes = [ {
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 3 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
} ]
|
|
1/z_index = 0
|
|
2/name = "spikes_left.png 2"
|
|
2/texture = ExtResource( 2 )
|
|
2/tex_offset = Vector2( 0, 0 )
|
|
2/modulate = Color( 1, 1, 1, 1 )
|
|
2/region = Rect2( 0, 0, 16, 16 )
|
|
2/tile_mode = 0
|
|
2/occluder_offset = Vector2( 0, 0 )
|
|
2/navigation_offset = Vector2( 0, 0 )
|
|
2/shape_offset = Vector2( 0, 0 )
|
|
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
2/shape = SubResource( 4 )
|
|
2/shape_one_way = false
|
|
2/shape_one_way_margin = 1.0
|
|
2/shapes = [ {
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 4 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
} ]
|
|
2/z_index = 0
|
|
3/name = "spikes_right.png 3"
|
|
3/texture = ExtResource( 4 )
|
|
3/tex_offset = Vector2( 0, 0 )
|
|
3/modulate = Color( 1, 1, 1, 1 )
|
|
3/region = Rect2( 0, 0, 16, 16 )
|
|
3/tile_mode = 0
|
|
3/occluder_offset = Vector2( 0, 0 )
|
|
3/navigation_offset = Vector2( 0, 0 )
|
|
3/shape_offset = Vector2( 0, 0 )
|
|
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
3/shape = SubResource( 5 )
|
|
3/shape_one_way = false
|
|
3/shape_one_way_margin = 1.0
|
|
3/shapes = [ {
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 5 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
} ]
|
|
3/z_index = 0
|
|
|
|
[node name="TrapTiles" type="TileMap"]
|
|
tile_set = SubResource( 6 )
|
|
cell_size = Vector2( 16, 16 )
|
|
collision_layer = 4
|
|
occluder_light_mask = 0
|
|
format = 1
|