gave hills tiles collision
This commit is contained in:
parent
f832cc739f
commit
8e3817690c
1 changed files with 58 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
[gd_resource type="TileSet" load_steps=28 format=2]
|
[gd_resource type="TileSet" load_steps=32 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://graphics/tiles/grass.png" type="Texture" id=1]
|
[ext_resource path="res://graphics/tiles/grass.png" type="Texture" id=1]
|
||||||
|
|
||||||
|
@ -80,6 +80,18 @@ points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
|
||||||
[sub_resource type="ConvexPolygonShape2D" id=28]
|
[sub_resource type="ConvexPolygonShape2D" id=28]
|
||||||
points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
|
points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=29]
|
||||||
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=30]
|
||||||
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=31]
|
||||||
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=32]
|
||||||
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
0/name = "old grass"
|
0/name = "old grass"
|
||||||
0/texture = ExtResource( 1 )
|
0/texture = ExtResource( 1 )
|
||||||
|
@ -187,6 +199,27 @@ points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
|
||||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
} ]
|
} ]
|
||||||
0/z_index = 0
|
0/z_index = 0
|
||||||
|
1/name = "grass.png 1"
|
||||||
|
1/texture = ExtResource( 1 )
|
||||||
|
1/tex_offset = Vector2( 0, 0 )
|
||||||
|
1/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
1/region = Rect2( 0, 24, 8, 8 )
|
||||||
|
1/tile_mode = 2
|
||||||
|
1/autotile/icon_coordinate = Vector2( 0, 0 )
|
||||||
|
1/autotile/tile_size = Vector2( 8, 8 )
|
||||||
|
1/autotile/spacing = 0
|
||||||
|
1/autotile/occluder_map = [ ]
|
||||||
|
1/autotile/navpoly_map = [ ]
|
||||||
|
1/autotile/priority_map = [ ]
|
||||||
|
1/autotile/z_index_map = [ ]
|
||||||
|
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_one_way = false
|
||||||
|
1/shape_one_way_margin = 0.0
|
||||||
|
1/shapes = [ ]
|
||||||
|
1/z_index = 0
|
||||||
2/name = "flowers"
|
2/name = "flowers"
|
||||||
2/texture = ExtResource( 1 )
|
2/texture = ExtResource( 1 )
|
||||||
2/tex_offset = Vector2( 0, 0 )
|
2/tex_offset = Vector2( 0, 0 )
|
||||||
|
@ -302,5 +335,29 @@ points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 )
|
||||||
"one_way_margin": 1.0,
|
"one_way_margin": 1.0,
|
||||||
"shape": SubResource( 28 ),
|
"shape": SubResource( 28 ),
|
||||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
}, {
|
||||||
|
"autotile_coord": Vector2( 0, 3 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 29 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
}, {
|
||||||
|
"autotile_coord": Vector2( 1, 3 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 30 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
}, {
|
||||||
|
"autotile_coord": Vector2( 2, 3 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 31 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
}, {
|
||||||
|
"autotile_coord": Vector2( 3, 3 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 32 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
} ]
|
} ]
|
||||||
3/z_index = 0
|
3/z_index = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue