Larger scene or Create new scene?

jmrsoundjmrsound Member Posts: 6
edited November -1 in Working with GS (Mac)
All my "levels" take place inside the default 480x320 and as I exit one level, it would load me into a new level. Would it be smarter(if at all possible) to create as many "levels" in one scene as I can and just warp the actor from each spot, or to create a new scene for each level?

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    Larger scene, reduces loading times but not too many levels if they are resource heavy as the loading time of the initial scene can be large.
  • MotherHooseMotherHoose Member Posts: 2,456
    you can use interpolate background image's alpha to 0
    changeImage of background
    then interpolate bg alpha to 1

    if you have lots of other actors on screen..
    you could have boolean and they react to that with alpha changes...
    while the bg image changes

    you can have a top layer full screen size actor as a fader
    and interpolate its alpha... change image... interpolate again

    remember that the Duration can be very fast 0.01 works quickly...

    Art in the Louvre consists of only one scene...yet gives the experience of 5 or more.

    MH
  • expired_012expired_012 Member Posts: 1,802
    Im doing something similar to what you're trying to do. If you have a really big game then I wouldn't recommend it. If you know its going to crash then don't even try because the most important thing is that your game is playable. If you have a relatively small and simple game then this is perfect.

    I am implementing 5 "scenes" all in one scene. When the user completes one thing, the camera's position changes into the next "scene". A couple of seconds after the camera is moved, everything behind that point is destroyed. I've managed to keep it at around 45mb of RAM with retina display. It took ALOT of optimization, and I will work to lower that number even more.

    The only reason I did this was because i have a pretty simple app, if it were larger then no way could i have done it

    all in one scene:
    Photobucket
  • MotherHooseMotherHoose Member Posts: 2,456
    oh that looks sweet @artonskyblue!

    and also like the how-to!

    MH
  • expired_012expired_012 Member Posts: 1,802
    Thanks, yeah it's taking double the time to do this nut in the end I think it'll be worth it
Sign In or Register to comment.