pato_reilly Posted January 18, 2014 Share Posted January 18, 2014 Hi, I thought it would be cool to see more maze games so I made an example with Phaser: http://www.patricko.byethost9.com/testproj/index2.html It uses the Depth-first search algorithm. I found numerous examples of its implementation here: http://rosettacode.org/wiki/Maze_generation#JavaScript There are several other maze generation algorithms, but 'depth-first' is the most commonly used for games. I kept the example basic but did implement it with Phaser tiles. I'm pretty sure there is potential to do some cool stuff on top of the maze using the Phaser tiles functionality. Alvin, jerome and Mike 3 Quote Link to comment Share on other sites More sharing options...
xerver Posted February 3, 2014 Share Posted February 3, 2014 Along those same lines, I was working on dungeon generation recently: https://github.com/englercj/dungen Quote Link to comment Share on other sites More sharing options...
pato_reilly Posted February 25, 2014 Author Share Posted February 25, 2014 Finally getting around to posting an update to this maze example: http://www.patricko.byethost9.com/testproj/index2.html Added some sprites that give basic game play on the maze... Quote Link to comment Share on other sites More sharing options...
SoulStorm Posted January 27, 2015 Share Posted January 27, 2015 Would it be possible that you could give the source code for this project? Quote Link to comment Share on other sites More sharing options...
Thepian Posted April 14, 2015 Share Posted April 14, 2015 What makes the navigation so tricky. Do the gaps need to be bigger, or do you need to align the stopping positions? 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.