Ravetracer Posted May 25, 2015 Share Posted May 25, 2015 Hi there, I'm currently in the development of a Shisen-Sho like game in HTML5 with PhaserJS. To be more precises, it'll be an adoption of a Commodore C64 game called "Hi Ska Do" ( ). The most annoying thing is currently the pathfinder. The rule is, to find the shortest path between two tiles but only allow two directional changes/corners. I've checked many pathfinding implementations for JavaScript and most of them are really cool and fast, but none of them have the ability to restrict the numbers of "path corners". Does someone know where to find such algorithm or has any other suggestions? Here's the current state of development, where you can see the bad pathfinding implementation: http://ravetracer.de/temp/testgame Many thanks in advance and regards,Christian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.