Post news RSS Random numbers & Seeds

To be able to generate dynamic maps, I will need to have some sort of pseudo random number generator, which generates a random number from a predetermined seed.

Posted by on

All the numbers needed to generate a map is premapped before I generate a map. This means that you will be able to replay specific maps, just by typing in your old seed.

First I will need to position the "not-so-random"-elements, in this case the world tile, the start tile and the boss tile. More tiles will be added, for instance a tile with a required item.

All tiles have rules applied to the. So, the tile on top of the world tile cannot be a path downwards, as that will be blocked.

After positioning those starter tiles, I will need to connect them via paths.

After that is done - I can fill out the rest of the map with filler rooms.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.