Page 1 of 1

State Changes & Scene Transitioning

PostPosted: Wed May 15, 2013 1:53 pm
by DragonRift
What is the best way to handle State Changes, like changing levels, or transitioning scenes (side scroller). I have not really found any reference docs on this, although I may have missed it somewhere.

Re: State Changes & Scene Transitioning

PostPosted: Wed May 15, 2013 6:42 pm
by Hblade
I'd guess making a map editor =) look at Pro_B for an example or A.M.E or SME

Re: State Changes & Scene Transitioning

PostPosted: Wed May 15, 2013 11:00 pm
by DragonRift
My questions are mainly related to 2 things:

How to load/unload areas from script?

How to make a level loop?

If anyone can provide me answers to these, I would be highly grateful.

Re: State Changes & Scene Transitioning

PostPosted: Thu May 16, 2013 1:46 am
by Hblade
Loading / unloading from script seems nearly impossible from what I can tell,

Re: State Changes & Scene Transitioning

PostPosted: Thu May 16, 2013 2:15 am
by DragonRift
I highly doubt that there is not a solution for this based on my observation of the engine's capabilities so far.

Re: State Changes & Scene Transitioning

PostPosted: Thu May 16, 2013 3:18 am
by Hblade
I'm sorry, I meant impossible for me lol :P I mean, I could think of 1 way. Deleting tiles made with a tile editor and recreating them, using a variable to determined how many were deleted (That way you can reset cloneindex, otherwise they will get created out of place and whacky) This would be a way to reload rooms

Re: State Changes & Scene Transitioning

PostPosted: Thu May 16, 2013 3:56 am
by DragonRift
I am already thinking that maybe a Procedural Level might better suit my game. (Script Driven)

Re: State Changes & Scene Transitioning

PostPosted: Thu May 16, 2013 8:08 pm
by Hblade
What is " Procedural Level" :)

Re: State Changes & Scene Transitioning

PostPosted: Fri May 17, 2013 6:54 am
by MrJolteon
Hblade wrote:What is " Procedural Level" :)

A level that generates as you go, like in Minecraft.

Re: State Changes & Scene Transitioning

PostPosted: Fri May 17, 2013 1:12 pm
by Hblade
MrJolteon wrote:
Hblade wrote:What is " Procedural Level" :)

A level that generates as you go, like in Minecraft.

Oh neat