Level controlling from script
by Dirk Hoffmann · in Torque Game Builder · 05/21/2006 (6:20 am) · 2 replies
Hi,
i'm working on a retro side scroller shooter. does someone have an idea of how to realise leveling.
Lets say level 1 survived, how to realise that the player finds himself after that in level 2 with new enemies and so on.
Which existing functions of Torque 2D may i use for this. Maybe someone has some expertise or also some sample script code.
Thanks in advance
Dirk
i'm working on a retro side scroller shooter. does someone have an idea of how to realise leveling.
Lets say level 1 survived, how to realise that the player finds himself after that in level 2 with new enemies and so on.
Which existing functions of Torque 2D may i use for this. Maybe someone has some expertise or also some sample script code.
Thanks in advance
Dirk
#2
05/21/2006 (8:34 am)
You must implement some kind of control ( #killed enemies, or a trigger at the end of the level ) that will tell you when the level is over.
Torque Owner Mike Lilligreen
T2DTutorials
Best bet is to ask questions like this in the private forums. There we can help you out with sample script code and such, which can't be posted here.