Is it good or advisable to put all levels in one scene?

Hello

So as production of my game speeds up I just need some help in regard to levels. (again) :)

I read people saying that they have placed all their levels in one scene to avoid loading times.

Well each of my levels are five seconds long to complete on average but then take longer to solve.
Each level only has 40 actors. And don't want players waiting 5 seconds to play each level.

So as I found out I can't place more than three levels in one scene ( as it means more 100 actors which is bad)

So would using tables be better, it could take a bit, but if it's worth it I will do.

So if a big table with all the positions an actor has to be spawn it should work?

Thanks :)

Elfizm

Comments

  • kinzuakinzua Member Posts: 554
    @Elfizm if you are not changing image of actors with change of level. i wud say put in that extra effort and put the whole thing in one scene.. cos if u changing image frequently.. it'll build up RAM and eventually will kill ur app.. So the decision is urs..
  • ElfizmElfizm Member Posts: 489
    @kinzua

    Thanks but I am not too sure what your are implying, all my actors animate when they have two and then change the to a different image.

    So I still don't know what to do, do I use tables and spawn and destroy or just put it on different scenes.

    I read that Darren from DBA and their newest game had all on one level. How would they have done that?

    Elfizm
  • famekraftsfamekrafts Member, BASIC Posts: 834
    use tables and change positions, do not use spawn and destroy as it will start lagging after some time.

    simply place items in the camera view and out of it using change and constrain and interpolate attributes in table or without it.

    I am redoing 23 stages right now because of the spawning and destroying problem.

    if you have one - ten stage, its fine but if you have 200 stages, its going to crash.

    If its your first game try to make normal stages and load stages using the above method. I am doing the same.

    once you are more experienced and know better how to deal with loading and stuff, go with tables in just one stage.






  • ElfizmElfizm Member Posts: 489
    I know how to use tables and have it all worked out but it would mean spawning and destroying which you said is bad so it will have the actor change to position relative to table info.

    Great advice @wickedsunny because once you get the first ten levels running good, adding the other 200 should only involving adding in positions, ect.
    Is that what you meant?
    Also don't know what you mean when you say having 200 will make it crash?


    Thanks
  • famekraftsfamekrafts Member, BASIC Posts: 834
    game will work fine if you use 10 levels of spawn and destroy but 200 levels will surely crash using that method.

    I am not using any template, so created the menu and whole system from scratch, now any changes are required to be done to all the scenes already created.

    Better get a template for yourself instead of doing everything from scratch.

    I am still learning GS so I will continue building from scratch.

Sign In or Register to comment.