do you mean like adding different levels to your game so when one level is completed, you start another one? if thats the case then there are many ways u could do it! i'm currently using a "function well" to programm my stages:
- each stage(a funciton in itself) has a loader and delete function. so each stage funciton would start like
function stage1
load stage1
do
........ games main play code
loop
delete stage 1
endfuntion
then you have your main code (not a function) that contains all the stages within, kinda like:
stage1()
stage2()
stage3()
..........
the term "function well" refers to the process, it falls in to the stage 1 function, you then load stage 1, play the game, when u finnish it deletes the stage, it then climbs out of stage 1 funtion and falls into stage 2 function, loads stage 2, plays the game, when your finnished, deletes the stage and etc
i think i may be way off what question originally intended ^_^
your birth was a blessing, sent to live and die on earth as a lesson, we each have a star all you have to do is find it, once you do, everyone who sees it will be blinded - DMX