Hi guys...
How do I make a transition from one layout to another one ?
For example level 1 finishes and player must go to layer 2 of the game...can I have a sort of transition so that it fades sotly from one level to the next player level ?
thanks
Develop games in your browser. Powerful, performant & highly capable.
A fade could be achieved by adding a black tiled background over the entire viewport and have it fade in with the fade behaviour..
Hi, i did it already...but it was not working.... ...as soon I play it...the background does not fade but the layout goes stright to level 2...
is there a certain order of events that u recomend ???
thank U
you should make sure there's enough time for the fade out offcourse..
easy like:
start fade - wait 5 seconds - goto layout2
or any other method that might suit you better..
Ok thanks a lot...
I like to make the same 4 the start of the next layout. a soft outfading black color and than it should start. The problem is that my enemies are already walking during the fading...can I make first the fading stuff...and than start the level for the player...so basicly a sort of "stop" game for the moment until the black sprite is destroyed ?.
thank U 4 the help:)
You could probably just set the time scale to 0 for everything except the fade in to selectively pause the game.
thanks I will try