Page 1 of 1

Map Transitioning

Posted: Mon Jun 18, 2007 5:59 pm
by acleek
Ok, So I've searched high and low in the forums, and I've gone through some example program's source code. My question is. How do you do map changes? Lets say you I created a large mmorpg. How would you transition between areas? Some sort of an event driven box in the map that called a function in the main to rebuild the scene and redraw it? Does anyone have any examples (code) of such a beast?

I apologize if this has been answered and I just didn't find it.

Thanks for any/all help.

//edit I also know this is more of a general engine question, but I'd like to know how irrlicht would handle a map transitioning situation.

Posted: Mon Jun 18, 2007 9:25 pm
by Dances
Just clear your scene manager... that should get rid of everything.... don't forget that all your pointers would be bad after that, though... anyway then you can go ahead and load an entire new scene.

You need to have an int and load your stuff depending on what the int is, and raise the int when a level is beaten.