How do I reduce loading times when testing my game

0 favourites
  • 9 posts
From the Asset Store
An educational game for Times Table. An easy to use template for developers to build larger games
  • hello everyone I been working on my game Reload ()

    for 6 months and it is my first game so I made a ton of rookie mistakes like having a large amount of events and huge sprites and now that I am working on later levels and my loading times on my test game is getting longer and longer right now it is like 40 seconds which may not seem long but when you are making tiny changes to the enemy actions then testing the game to see if it worked it it is very frustrating. so is there anyway to reduce loading times does C2 load everything at once or does it load one layout at a time?

  • It only loads what's needed for the first layout so the memory usage must be huge, or it's some other performance issue like maybe your PC spec.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • err my memory use is 137.5mb that's bad isn't it?

  • As far as I know, it isn't only based on memory, it's also based on the download size but mostly memory & computer specs.

    If you have a good device then it might be your game otherwise it is the other way around.

  • If you are trying to reduce load time just for testing you could isolate what you are testing in a separate layout

  • Yeah you should be looking to get it below 100mb

  • hello everyone I been working on my game Reload ()

    for 6 months and it is my first game so I made a ton of rookie mistakes like having a large amount of events and huge sprites and now that I am working on later levels and my loading times on my test game is getting longer and longer right now it is like 40 seconds which may not seem long but when you are making tiny changes to the enemy actions then testing the game to see if it worked it it is very frustrating. so is there anyway to reduce loading times does C2 load everything at once or does it load one layout at a time?

    137 mb memory use isn't that bad, depending on the size of the game of course But it shouldn't give loading times of up to 40 second I think.

    In my experience what can really drive up loading times are audio files, so if you have a lot of those you can remove them and simply add them at the end, maybe just replace them with some very short ones so you can add the functionality and easily replace them later on.

    However it seems there is a bug or some weird handling of audio files in C2 (Not confirmed) but if you for instant add a big audio file, lets say some background music and tell it play you will experience higher loading times, however simply disabling the event that plays the audio will not improve loading time, neither will removing the event. You have to delete the actual audio file from the project, before you will get any improved performance when it comes to loading, it seems.

    So maybe replacing such files with 1 s empty sounds until you are done with the game could be a solution. That might be your problem if you have lots of audio in your game.

  • Sorry for my delayed response, I have been on holiday. I have just deleted the all the music and sound effects in my game to see if it had any effect and it did not, so I made a new layout with nothing in it and it is still taking up to 40 seconds to load. Without music it is a download of 3.8MB and a memory use of 137.5mb with 1850 events honestly, this is ruining game making for me, I put so much effort into this thing and I may have to to stop now because it is taking forever to do anything

  • From my experience its the size of the graphics files. If you have any graphics that are 200kb a piece or more it can cause loading time slowdown. I been away for a couple of months but Iam back now. Hit me up when you got time trust me I know how maddening it is to work on a game so long and it glitches out. Usually thats why developers tell newer developers to start on small projects before going into really big ones.

    If nothing works and for some reason the game has to be redone , I will help you out. I will show you how to organize your events sheet so pin pointing a problem will not be hard. Also give you more tips on optimizing your game as well. Don't give up you made a much better 1st game then I ever did. Success only comes to those who fight through the tough times. You got talent to go far so don't give up.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)