I'm developing a game where I only use one level screen, and I want the objects to be repositioned, created every time you beat the game.
There's a level selection screen, when you click level 2, it will send you to the level screen, but the objects will be on diferent positions than level 1.
Is there a way to do this? How do I store maps using XML? should I use Arrays and Loops?
The objects are basically only 32*32 blocks, the player(32*32) and a 128*32 block.