Added fall zones

This commit is contained in:
gemdude46 2023-01-28 09:25:49 +00:00
parent d02d369c13
commit c257f9c1ad
8 changed files with 64 additions and 7 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="TileSet" load_steps=10 format=2]
[gd_resource type="TileSet" load_steps=11 format=2]
[ext_resource path="res://Graphics/Tiles/PalaceTileSet.png" type="Texture" id=1]
[ext_resource path="res://Graphics/Tiles/slope/SlopeLeft2Borderless.png" type="Texture" id=2]
@ -10,7 +10,11 @@
[ext_resource path="res://Graphics/Tiles/ledge/LedgeRight.png" type="Texture" id=8]
[ext_resource path="res://Graphics/Tiles/ledge/LedgeSingle.png" type="Texture" id=9]
[sub_resource type="ConvexPolygonShape2D" id=1]
points = PoolVector2Array( 0, 0, 20, 0, 20, 20, 0, 20 )
[resource]
resource_local_to_scene = true
0/name = "PalaceTileSet.png 0"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
@ -333,3 +337,24 @@
22/shape_one_way_margin = 0.0
22/shapes = [ ]
22/z_index = 0
23/name = "OutOfBoundsLower"
23/texture = ExtResource( 1 )
23/tex_offset = Vector2( 0, 0 )
23/modulate = Color( 1, 1, 1, 1 )
23/region = Rect2( 275, 1, 1, 1 )
23/tile_mode = 0
23/occluder_offset = Vector2( 0, 0 )
23/navigation_offset = Vector2( 0, 0 )
23/shape_offset = Vector2( 0, 0 )
23/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
23/shape = SubResource( 1 )
23/shape_one_way = false
23/shape_one_way_margin = 1.0
23/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 1 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
23/z_index = 0