Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Transition between levels

Author
Message
Diana DiDi
6
Years of Service
User Offline
Joined: 27th Nov 2012
Location:
Posted: 4th Jan 2013 14:08
How can I link the levels I make, going from level 1 to level 2 and so on?
Rudolpho
13
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 4th Jan 2013 21:00
You keep track of the level data (objects, sounds, images, what-have-you media) and then unload it when changing level, after which you load the new level's data. Usually you have some set starting position that you will want to move your player to when changing levels as well.

More in detail, you should store information about your different levels in some type of file, that way it should be easy to read it in when you need it (as opposed to building your scenes in hard code).


"Why do programmers get Halloween and Christmas mixed up?"

Login to post a reply

Server time is: 2019-09-17 09:29:55
Your offset time is: 2019-09-17 09:29:55