Page 1 of 1

Help with map size

Posted: Fri Jun 14, 2013 2:24 am
by weezme
I'm looking to make a map for my game and the size that I want it to be is 10 times of a full screen browser window. If someone could tell me what size I make my image to begin creating this, that would be much appreciated.

Re: Help with map size

Posted: Fri Jun 14, 2013 2:27 am
by Xaos
If you wanted to you could just make a 1600x900 or 1200x900 (standard sizes) and multiply it by 10 so 16000x9000 / 12000x9000 :P

Kind of a noob way, and Im sure people have better suggestions. Or (if applicable) just have the map repeating.

Re: Help with map size

Posted: Fri Jun 14, 2013 3:19 am
by weezme
Xaos wrote:If you wanted to you could just make a 1600x900 or 1200x900 (standard sizes) and multiply it by 10 so 16000x9000 / 12000x9000 :P

Kind of a noob way, and Im sure people have better suggestions. Or (if applicable) just have the map repeating.
Well that will work, I just couldn't remember what the original size was to start from. I want to create one giant map because this is the type of map I want:
http://dannyvankooten.com/548/draggable ... om-jquery/

Re: Help with map size

Posted: Fri Jun 14, 2013 3:25 am
by weezme
I am using Inkscape and can't seem to figure out how to make my image that big. Is there another program I can download to make the image that big or is it possible do make an image that big in Inkscape and I am just missing something?

Re: Help with map size

Posted: Fri Jun 14, 2013 4:17 am
by Xaos
Wait, you want a background image and then have the scrollable thing over it? That's completely different.

Re: Help with map size

Posted: Fri Jun 14, 2013 7:35 am
by Jackolantern
What platform is this for? Still for the browser? If so, you don't want to make an image that large. Browsers give you very little memory, and you will be spending most of it to have a giant raster image loaded in. Instead, most games work with sprites. Instead of having a huge image, they have tiles that they can put together to form a background map, and lay the sprites on the front to represent the game's state.

Beyond the drain on the memory to have one huge image, it will also destroy your ability to change things through code as the game is being played.

I know you are working on a city, so what I would suggest is to start with making a tileset, such as tiles to put together some roads, parking lots, etc. Then make building sprites, car sprites, and more.

EDIT: Also, you don't want to scale up an image by a multiple of 10, because it would make it look extremely pixelated and awful.

Re: Help with map size

Posted: Fri Jun 14, 2013 6:58 pm
by weezme
Jackolantern wrote:What platform is this for? Still for the browser? If so, you don't want to make an image that large. Browsers give you very little memory, and you will be spending most of it to have a giant raster image loaded in. Instead, most games work with sprites. Instead of having a huge image, they have tiles that they can put together to form a background map, and lay the sprites on the front to represent the game's state.

Beyond the drain on the memory to have one huge image, it will also destroy your ability to change things through code as the game is being played.

I know you are working on a city, so what I would suggest is to start with making a tileset, such as tiles to put together some roads, parking lots, etc. Then make building sprites, car sprites, and more.

EDIT: Also, you don't want to scale up an image by a multiple of 10, because it would make it look extremely pixelated and awful.
Well yes it is still for the browser. I'm very new to having to make a game map. But the map I want it when you move to look at another section it then loads the other part of the map that you moved to. So the map technically only the one screen but as you move within the map it loads the other parts of the map you are moving to. I will try out that link and see what I come up with.

Re: Help with map size

Posted: Fri Jun 14, 2013 7:27 pm
by Jackolantern
Well, if there isn't much interactivity and not much else is loaded into memory when the map is displayed, I wouldn't see a problem with that.

Re: Help with map size

Posted: Fri Jun 14, 2013 11:30 pm
by weezme
Jackolantern wrote:Well, if there isn't much interactivity and not much else is loaded into memory when the map is displayed, I wouldn't see a problem with that.
Yea there pretty much isn't going to be any animations going on in the map to start off, so i think it would work. But when adding animations to the buildings and such hopefuly by then can figure out another way to do it. So pretty much what I'm gonna do here is map the maps terrain with the roads forest, hills etc. and then leave spots open where the buildings of the games can be built to be inserted as sprites. Keep in mind this map I'm making is a post apocalyptic map so I won't be making one jumbled up crowded city it's gonna be more spread apart with a lot of wreckage of building and such and the map will actually have a unique terrain of it's own this way, which is why I am looking to create this as a large map and not a map that repeats it self.