How to choose renadom map from a list?
Posted: Wed Apr 09, 2014 6:20 am
So for example I have 10 different maps in a map.lua file. They look like this:
1111
1001
1001
1111
0 - floor tile
1 - wall
i need to choose 1 random room from a list at the start of the game.
1111
1001
1001
1111
0 - floor tile
1 - wall
i need to choose 1 random room from a list at the start of the game.