Game Development Community

Next Level

by Bruno · in Torque Game Builder · 07/28/2006 (7:53 am) · 2 replies

Hi.,

I'm just tryng to organize some ideias here, on the best approach on how to do this.,
I have a puzzle game, with a board. The board is made of tilelayers, and each level the board has a diferent
setup ( other tilelayers ).
So, when i go to a next level, i could hide the tilelayers of the previous level, and show the tilelayers of the new level.
However, if i want 40 levels, this would be a huge mess in the editor, with so many tile layers there.
So, i was wondering on what would be the best approach on how to do this, i'm not sure if using a complete new level (map) for each level would be the best solution either.

[edit]
Actually, just after posting this, i remembered one thing, i can resize the tilelayer to the size i want, so this would probably work ( i think ), using allways the same tilelayer and just resizing it to the size i want..,
[edit]
thanks,
Bruno

#1
07/28/2006 (8:06 am)
What do you actually want?

You can create the tile layers, and then load data for them ingame?

You could create them in seperate levels?

Not sure what you actually want. :P

You could "reset" the layers each level, so that it cleared previous content and set it to that in a specified file.

-- Ricky
#2
07/28/2006 (8:10 am)
You could also just have one level file with one tile layer in it. Each time you want to change levels, you could just set the tile layer to point at a different one by calling the loadTileLayer(%layer) method.