Skip to main content
GameDev.net gamedev.net
🔒 Locked

Map Size

Started by kontrolkl Oct 12, 2005 at 12:34 PM 0 replies 600+ views
Original Post
kontrolkl
kontrolkl
Yes it's me again ^^ I'v finaly finished my map loader and i am able to show it on the screen. Now I'm asking myself a question since sometimes. What about the size of the map? The way i will render my game i need a 1.33 ration with a Odd number of tile EX : 40x30 tiles of 20x20. But it's even and i need it to be odd. Because i absolutly need a middle for my map. Because when i will move the Char on the map, i will keep moving the map until i reach the end of the map and move the Char when i reach a point of the end of the map. And start moving the map when the char will return to a middle position. I Want it to be this way to avoid filling around my maps limits to hide the black. It's to avoid useless memory usage.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.