Haven't gotten a lot of work done today, but it's something. The background is created by checking the total size of the map, and then calculating how many images are needed to fill the background including some extra space. Next, the background gets build by putting an X amount of random background images together, X being the amount needed as calculated before.
By doing this, the player gets a random background every time he starts the game, (almost) never getting the same background twice.
Link to this comment:
All Comments (0)