diff --git a/tilesets/t_death.tres b/tilesets/t_death.tres index cac7855..1e078e2 100644 --- a/tilesets/t_death.tres +++ b/tilesets/t_death.tres @@ -1,4 +1,4 @@ -[gd_resource type="TileSet" load_steps=5 format=2] +[gd_resource type="TileSet" load_steps=6 format=2] [ext_resource path="res://graphics/tiles/water.tres" type="Texture" id=1] [ext_resource path="res://graphics/tiles/spike.png" type="Texture" id=2] @@ -7,6 +7,9 @@ [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) + [resource] 0/name = "water.tres 0" 0/texture = ExtResource( 1 ) @@ -74,7 +77,14 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 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( 2 ) 3/shape_one_way = false -3/shape_one_way_margin = 0.0 -3/shapes = [ ] +3/shape_one_way_margin = 1.0 +3/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 ) +} ] 3/z_index = 10