Roguelike Explorer - Explore maps
Monkey Archive Forums/Monkey Projects/Roguelike Explorer - Explore maps
| ||
![]() This game did not take that long to make but I have not seen anything like this before either. All in the direction of learning more about how to code a roguelike. This is a simple exploration game. You must explore the map until all of it is visible. Then you will be put on a slightly bigger map which you must explorer to get on the next bigger map. This goes on. Each map is randomly generated, seed is chosen based on user input. I play tested it also it on my ipad mini(touch) Play in browser : http://cromdesi.home.xs4all.nl/html5/roguelikefogmap/MonkeyGame.html The map generator works as follows. Put random points on the map Chose 1 point and give it a value Do FInd closest point to last valued point and give that the same value Connect/store line between those points. Repeat until all points are taken I forgot how the method was called. It is also used to create mazes. I hope I explained it correctly. The code : |