mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Mapping
This commit is contained in:
parent
b76427e3ca
commit
730594666f
7 changed files with 118 additions and 8 deletions
BIN
ExternalMaterial/Barrel/Barrel.pxc
Normal file
BIN
ExternalMaterial/Barrel/Barrel.pxc
Normal file
Binary file not shown.
BIN
ExternalMaterial/Barrel/Barrel.pxc1
Normal file
BIN
ExternalMaterial/Barrel/Barrel.pxc1
Normal file
Binary file not shown.
BIN
ExternalMaterial/Shelf/Shelf.png
(Stored with Git LFS)
BIN
ExternalMaterial/Shelf/Shelf.png
(Stored with Git LFS)
Binary file not shown.
|
|
@ -594,7 +594,7 @@ position = Vector2(-504, 912)
|
||||||
Targets = [NodePath("../Elevator2")]
|
Targets = [NodePath("../Elevator2")]
|
||||||
|
|
||||||
[node name="Shelf" parent="Tilemaps/Actors" instance=ExtResource("40_sb7g3")]
|
[node name="Shelf" parent="Tilemaps/Actors" instance=ExtResource("40_sb7g3")]
|
||||||
position = Vector2(-225, 154)
|
position = Vector2(-261, 157)
|
||||||
|
|
||||||
[node name="ControlPad8" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
|
[node name="ControlPad8" parent="Tilemaps/Actors" node_paths=PackedStringArray("Targets") instance=ExtResource("16_s23f3")]
|
||||||
position = Vector2(-500, 727)
|
position = Vector2(-500, 727)
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -6,3 +6,4 @@
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
texture = ExtResource("1_nt0bt")
|
texture = ExtResource("1_nt0bt")
|
||||||
|
hframes = 8
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@ public partial class TilemapAvoidance : TileMapLayer
|
||||||
|
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
{
|
{
|
||||||
|
//NavigationServer2D.MapSetEdgeConnectionMargin(this.TileSet.GetRid(), 0f);
|
||||||
_ = RefreshNavigationAsync();
|
_ = RefreshNavigationAsync();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task RefreshNavigationAsync()
|
private async Task RefreshNavigationAsync()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue