How to make large map
by baylor wetzel · in Torque Game Builder · 07/09/2007 (8:11 pm) · 3 replies
I want to make a really simple old-school RPG with a large map where you can walk in front of some items and behind others. There will also be things to pick up like treasure chests and their will be doors that, when you touch them, take you to a new map (inside of a house, in a cave, etc)
Since it's a large map with lots of repeating images, i figured a tilelayer would be the best bet, but the entire tilelayer is on one layer, so you can't walk in front of some things and behind others. Also, you can't stack two items on top of each other, like a treasure chest on grass
So i considered making three tile layers - one background, one foreground and one for items. My question - is this a dumb idea? For some reason it feels hackish but i can't actually think of a reason why this would be bad, other than possible difficulties in keeping them in synch and editing them when they're stacked on top of each other
Since it's a large map with lots of repeating images, i figured a tilelayer would be the best bet, but the entire tilelayer is on one layer, so you can't walk in front of some things and behind others. Also, you can't stack two items on top of each other, like a treasure chest on grass
So i considered making three tile layers - one background, one foreground and one for items. My question - is this a dumb idea? For some reason it feels hackish but i can't actually think of a reason why this would be bad, other than possible difficulties in keeping them in synch and editing them when they're stacked on top of each other
About the author
#2
07/12/2007 (9:08 am)
As Melissa said it doesn't seem hackish at all :)
#3
07/26/2007 (10:48 am)
Seems like one of the only ways to do this sort of thing really. I wish there was a way to link a set of sprite together, but I have yet to find one. I plan on using a very similar method for the game I am working on as well.
Torque Owner Melissa Niiya