Game Development Community

Scene Reloaded

by Zilla · in Torque X 2D · 08/29/2008 (9:35 am) · 1 replies

I already posted this in the private Platformer Kit forums (sorry for the double post), but I can't figure out how to load new scenes in the platformer kit, so I also ask this question here:

There are different suggestions in the forums how to change scenes:

www.garagegames.com/mg/forums/result.thread.php?qt=69082

www.garagegames.com/mg/forums/result.thread.php?qt=71490

www.garagegames.com/mg/forums/result.thread.php?qt=73882

www.garagegames.com/mg/forums/result.thread.php?qt=76056

I tried all of them in the Platformer Kit but none of them seems to work.
Does anybody have a Platformer Demo with different levels?

#1
09/08/2008 (9:53 pm)
Sorry Zilla, I've been MIA from the forums for a little bit. I'll take a quick peek at the Platformer Kit and see what I can find. I'm not sure why the normal loading process doesn't work; it should just be....

SceneLoader.Unload("mylastlevel.txscene");
SceneLoader.Load("mynextlevel.txscene");

But I'll check on it and post back asap.

John K.