Optimizing your game for faster scene changes

BluemoonstudiosBluemoonstudios Member Posts: 156
edited April 2013 in Working with GS (Mac)
Hey everyone, there is so much talk around the forums about the crappy loading times and lag between scene changes. Some people on here know how to optimize their code to get faster load times and others ( like myself ) keep getting it no matter how much optimization that we do. I know @CodeWizard has said there are upcoming fixes for these issues, but while we are waiting for those fixes having a workaround would be so helpful.
There must be someone in this community that can make a video tutorial on best practices for optimization of code. Perhaps someone can do a video showing the wrong way to code and shows the lag and loading wheel, and then in the same video they show you how to optimize the existing code and then it shows NO loading wheel and faster scene changes.
I understand doing a video like this can be time consuming, but think about all of us developers who are suffering because we are not as advanced as some others around here.
Please consider my suggestion.
Thank You

[duplicate post removed by moderator]

Comments

  • CodeWizardCodeWizard Inactive, Chef Emeritus Posts: 1,143
    Echo echo echo!
  • BluemoonstudiosBluemoonstudios Member Posts: 156
    lol how the hell did that happen?????
  • BluemoonstudiosBluemoonstudios Member Posts: 156
    @CodeWizard, do you think you could teach me how to optimize my code so i dont get the loading wheel in between scene changes?
  • CodeWizardCodeWizard Inactive, Chef Emeritus Posts: 1,143
    That's beyond what I have time to do right now. But if you have some example projects that load too slowly, I'd be glad to take a look!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @Bluemoonstudios there isn't some magical spell that some of us know that reduces lag to zero and banishes the loading wheel. Basically, if you use Change Scene, you'll see the loading wheel. Sure, you can optimize code (much of it involves removing constrains and timers) but the difference might be a loading wheel of three seconds instead of a loading wheel of 15 seconds. The only way to have zero load time is to use a single scene. Depending on the game, it may not be feasible to do so. For example, a quiz game or puzzle game can often be built in a single scene. It's much harder to make a platformer or shooter game in a single scene.
  • BluemoonstudiosBluemoonstudios Member Posts: 156
    @tatiang I understand there is no magic spell, but i have read in a few threads that there were workarounds for reducing lag. My game has no timers and no constraints and my loading wheel lasts for atleast 3 seconds. so i was hoping someone could make a video to show what those workarounds were. Thats cool, I guess i just have to put up with it. Thanks for your reply.
  • SingleSparqSingleSparq Member Posts: 1,339
    It can also depend on your device. Older devices will take longer to load compared to newer.
  • mounted88mounted88 Member Posts: 1,113
    edited April 2013
    3 secs isn't that long, it used to take up to 5 secs on some cases. Only way you can get rid of your loading wheel is make a game on one scene
Sign In or Register to comment.