I am building a small 2d tile game as a small project. I decided to make the game have three layers to the map. The first for terrain, the next for items, and the last for disabled or not (if the character is able to walk into the tile). I declared my map with Map(100,100,2). Would this be the best way to create a map?
Also, what would be the best way to declare each Tile without having to fill each block in the array separately (ex. map(0,0,0) = 1 map(0,1,0)= 4 ect...)
right now i have a for loop but it only creates 1000 boxes of grass...
Any suggestions?
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









