forked from team-sg/hero-mark-2
fix water not killing player
This commit is contained in:
parent
b31344a718
commit
b76ce99b73
1 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue