Added exploration node to DSL and worked on vertical pathfinding (Closed gates blocked horizontal movement as well)

This commit is contained in:
=
2026-05-02 21:53:31 +02:00
parent 7f13505759
commit f3c551e792
12 changed files with 169 additions and 16 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public partial class GameData
public static bool canMove = true;
public static int maxRobotCount = 1000;
public static List<Robot> robots = new List<Robot>();
public static float robotSpeed = 5f;
public static float robotSpeed = 20f;
public static float tileWidth = 6;
public static float tileHeight = 4;
+2 -1
View File
@@ -52,7 +52,8 @@ public partial class ResourceLoader
{
{ new MoveNode(), GD.Load<PackedScene>($"res://Prefabs/DSL/MoveNode.tscn") },
{ new HarvestNode(), GD.Load<PackedScene>($"res://Prefabs/DSL/HarvestNode.tscn") },
{ new CraftNode(), GD.Load<PackedScene>($"res://Prefabs/DSL/CraftNode.tscn") }
{ new CraftNode(), GD.Load<PackedScene>($"res://Prefabs/DSL/CraftNode.tscn") },
{ new ExploreNode(), GD.Load<PackedScene>($"res://Prefabs/DSL/ExploreNode.tscn") }
};
return nodes;
}
+1 -1
View File
@@ -30,7 +30,7 @@ public partial class UIHandler : Control
if (Input.IsActionJustPressed("map"))
{
map.ShowMap();
map.ShowMap(false);
}
if (Input.IsActionJustPressed("menu"))