40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/Tiles/spikes.png" type="Texture" id=1]
|
|
|
|
[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, 0, 7.90773, 16, 7.90773 )
|
|
|
|
[sub_resource type="TileSet" id=3]
|
|
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
|
|
|
|
[node name="TrapTiles" type="TileMap"]
|
|
tile_set = SubResource( 3 )
|
|
cell_size = Vector2( 16, 16 )
|
|
collision_layer = 4
|
|
occluder_light_mask = 0
|
|
format = 1
|