Making a map loading sub
Posted: Tue Mar 07, 2006 5:51 pm
I'm trying to make an efficient sub that loads multi-layered maps that can use multiple tilesets.
I've had no luck finding any tutorials that really focus on loading maps like that.
Here's my map format so far...
If anyone can kinda show me the right path to take to load something like this efficiently I would really appreciate it. I'm not asking you to code it for me, I'd just like some tips to load and display the map quickly.
Thanks to anyone that can be of any help.
I reeeeeaaaaally appreciate it. I'm trying to code as much of a game engine as I can before apathy sets in.
Dave
I've had no luck finding any tutorials that really focus on loading maps like that.
Here's my map format so far...
Code: Select all
map name
LAYER (number)
width
height
tileset used
0,1,4,2,3 (map data and whatnot)
LAYER (number)
etc etc etc
Thanks to anyone that can be of any help.
I reeeeeaaaaally appreciate it. I'm trying to code as much of a game engine as I can before apathy sets in.

Dave