More smaller maps among which player can travel
Posted
by
davidv
on Game Development
See other posts from Game Development
or by davidv
Published on 2011-05-15T20:42:24Z
Indexed on
2012/06/20
9:25 UTC
Read the original article
Hit count: 237
I am developing 2d game, where maps are tile based, small about 20x20 tiles and player can travel between a lot of maps (in my game rooms) like this. The maps are connected sometimes verticaly and sometimes horizontaly and together they make one big cave.
Should I create a class where one 2d array holds all the maps (another 2d arrays), or is there any other way? Whats the most efficient way to create them in this class? Thank you for your help.
© Game Development or respective owner