Fixing Load Time Between Scenes

supafly129supafly129 Member Posts: 454
edited January 2015 in Working with GS (Mac)

Hey guys, I'm currently creating a puzzler with two scenes (the 1st includes the Main Screen, Character Select, World Select...the 2nd is for the levels). My only issue is that it takes about 10 seconds to go between scenes. Fortunately, there's no loading time between levels which is most important IMO, but it would be nice to get the scene changes down to 5 sec or less if possible since my assumption is that 10 sec is too long for most players.

I've unchecked Pre-Load on all actors, and it also doesn't look like there's one actor that's the culprit after playing around so not sure how to best resolve this. I do have about 200 actors on the scene, but most of them aren't graphic intensive or have more than a few rules since they aren't all used at once.

Is there a better workaround other than eliminating actors? Thinking along the lines of spawning some/all actors as soon as scene loads etc. things of that nature, just not sure what's most efficient. Putting the entire game on one scene was an idea, but that might get very complicated at this point. Thanks for your help in advance!

Comments

  • j75j75 Member, PRO Posts: 235
    edited January 2015

    I came to the forums just now to post the same question.
    I am noticing a 10-15 second delay in switching scenes with my adhoc today.
    I too have tried eliminating culprits but with no success.

    I have way less actors on the scene than you do and I have never had this issue in the past.
    Although this is the most intense game I have put together, I hardly think it is so complex that it GameSalad can't handle it. Maybe I'm wrong???

    How long is your load time when switching from gameplay, back to the level select scene?

  • j75j75 Member, PRO Posts: 235

    I just did another test. If the first scene is the menu, then you click on play, it takes 10-15 sec to load.

    If I make the gameplay be the first scene, it loads quickly and will switch quickly to all future level scenes. However, if you go back to the home scene, it will again have a delay when returning to gameplay.

    Basically if I boot up and automatically start gameplay, it works great. If I boot up to the menu scene, it will cause the delay when pressing play. Looks like incorporating the menu into the gameplay scene is what I will be doing. Confusing as to why this is happening but tired of trying to figure it out.

  • supafly129supafly129 Member Posts: 454
    edited January 2015

    @jesse75‌ my load time for both scenarios is about 10 seconds so I don't notice much of a difference either way. I don't mind the wait when the app first loads since all games take some time, but between menu screens, home screen to level etc. should be almost instant or at worst a few seconds.

    Removing most of the actors reduced my load time by about half, but I obviously need just about all of them for the levels. I'm hoping maybe spawning all actors 0.1 seconds after the scene starts or something of that nature would be a temp fix if anyone has tried that before, but if the load times continue to be a problem and no one else has any ideas I guess there's no choice but to do everything on the same scene which would be a huge time suck :s

  • j75j75 Member, PRO Posts: 235

    Another user just posted that he is noticing slow load times too. Perhaps it's a temporary issue with GS???

    Maybe I should load an old game and see if it has any new delays.

  • supafly129supafly129 Member Posts: 454

    @jesse75 that might be the case since i know users have been talking about memory leaks and what not with the latest GS creators, I hope it's just a GS issue that will be fixed when the next stable release finally comes. Please let me know what you find if you do test your old game!

Sign In or Register to comment.