Share your repls and programming experiences

← Back to all posts
2D Random Map Generation
CatsRulez (2)

Use the arrow keys to move around the terrain. The generation is limited, but feel free to increase it. If you want the generation to be larger, change the variable MAPTILES to the number of objects that will be generated, and change MAPTILESET to the square root of MAPTILES. Enjoy, and feel free to use it in your games! P.S. I recently updated the program to reduce the amount of objects, which will reduce some of the lag.

Comments
hotnewtop
jackyjoy123 (0)

thanks for the awesome information.