mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 17:53:46 +00:00
Made tilemap navigation use multiple layers
This commit is contained in:
parent
fa49fe2ce9
commit
25670dc243
7 changed files with 32 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
|
|||
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
|
||||
agent_radius = 0.0
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ml1qs"]
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ipvrl"]
|
||||
vertices = PackedVector2Array(8, 8, -8, 8, -8, -8, 8, -8)
|
||||
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
|
||||
outlines = Array[PackedVector2Array]([PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)])
|
||||
|
|
@ -217,7 +217,7 @@ texture = ExtResource("1_70kxh")
|
|||
0:3/0 = 0
|
||||
0:3/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_lnwgu")
|
||||
1:3/0 = 0
|
||||
1:3/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_ml1qs")
|
||||
1:3/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_ipvrl")
|
||||
2:3/0 = 0
|
||||
2:3/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_h4p0b")
|
||||
3:3/0 = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue