LÖVE: ASTAR pathfinding with Jumper
A downloadable game for macOS
After playing around with making platformers and little games with collisions I really wanted to try making a simple grid based game with mouse controls.
Pathfinding itself turned out to be rather simple to implement due to a high volume of good pathfinding libraries in existence. This prototype was made using Jumper, a framework agnostic pathfinding library written in Lua.
What turned out to be more complicated was a common challenge in pathfinding based games: Cutting corners and tunneling through walls you are not supposed to be able to go through. I ended up removing diagonal movement and only included orthogonal movement for this prototype.
The dream is to make a with diagonal movement in open areas and orthogonal movement in closed spaces to avoid cutting of corners. I'll probably return to this problem later.
Leave a comment
Log in with itch.io to leave a comment.