Map maker

Hello all,I am wishing to make a map maker for a 2D rpg. I was thinking of a 2D array with every grid representing a tile on the map. Is this a feasible solution or are there any better ways?Vojnik
[218 byte] By [Vojnik_Srecea] at [2007-9-29 14:01:58]
# 1

That is a feasible solution. Use id codes to indicate the type of terrain for each spot in the map, and then use lookup functions from there to determine movement allowances, encounter chance, the image to display etc.

Alternately, the array could be of objects that describe each area of the map.

outlander78a at 2007-7-15 4:34:14 > top of Java-index,Other Topics,Java Game Development...
# 2
A good example of map making is here, best I have seen: http://www.scottshaver2000.com/
MickeyBa at 2007-7-15 4:34:14 > top of Java-index,Other Topics,Java Game Development...
# 3

> Hello all,

> I am wishing to make a map maker for a 2D rpg. I was

> thinking of a 2D array with every grid representing a

> tile on the map. Is this a feasible solution or are

> there any better ways?

>

> Vojnik

You might want 2-2D arrays... one for tiles, one for characters.

bbqfritoa at 2007-7-15 4:34:14 > top of Java-index,Other Topics,Java Game Development...