Game Development Community

Small maps

by Ronald J Nelson · in Game Design and Creative Issues · 01/14/2007 (4:36 pm) · 7 replies

I finally got to a point where I was ready for map making and guess what? I have no idea how to alter the size of a map. I am looking to make a smaller map. What to I adjust to change the size of the terrain?

#1
01/15/2007 (11:14 pm)
In the World Editor Inspector, click on TerrainBlock,
then change the SquareSize to something smaller than 8.
8 will be a map 2048 meters wide, with 8 meter grid spacing,
6 will be 1536 meters wide,
4 will be 1024 meters wide,
2 will be 512 meters wide.
But you can't use 1.
And you need to set it before you place stuff on the map.
#2
01/15/2007 (11:39 pm)
Why not 1?
#3
01/16/2007 (9:31 pm)
Beats me, when I tried it the program aborted.
#4
02/16/2007 (2:59 am)
Because:

8 = 2048
6 = 2048 - 512 = 1536
4 = 1536 - 512 = 1024
2 = 1024 - 512 = 512
1 = 512 - 512 = 0

How would you play on a map that has no width?
#5
02/16/2007 (4:08 am)
Well heck why even have it available then?
#6
02/16/2007 (8:47 am)
That doesn't seem likely.
First, the grid size table should be: 1 = 512 - 256 = 256.
Second, the actual grid calculation should be something like:
mapX = gridX * SquareSize
which ought to work with anything, even floating point numbers like 0.1
But it probably uses a lookup table and they just left 1 off of the table.
#7
02/16/2007 (9:20 am)
Its must be a power of 2.