Sound PreLoading

  • Gurudath
    Likes 0

    Problem Description

    Hello,

     

    I have All the Effects and Background Sounds preloaded at the beginning of the game. Am using SimpleAudioEngine.

    But it takes lots of time to load sounds. Time Delay is based on Device. 

    We need to optimize on this loading time. 

     

    Any idea?

     

    Thanks in advance

    Gurudath

  • Sonar Systems admin
    Likes 0

    How big are the sound files?

  • Gurudath
    Likes 0

    Sound Effect files are very small. We have compressed it to 32 bit rate. 

    Total Sound file size is 5mb. Including Background & Sound Effect

  • Sonar Systems admin
    Likes 0

    Does this still happen when you only load half the assets?

  • Gurudath
    Likes 0

    When i load Half Assets Loading Time will reduce a bit.

    But i want to load all Sounds initially so that game wont be lags 

     

  • Sonar Systems admin
    Likes 0

    Try loading some at the start, then somewhere the user might actually stay for a while like a menu or another shorter loading screen between screens.

  • Gurudath
    Likes 0

    Yes.

     

    But if i load inside the game then game freeze for a moment at that time. 

    Any alternative solution?

  • Sonar Systems admin
    Likes 0

    Shorter but more frequent loading screens.

  • Gurudath
    Likes 0

    Is there any alternative solution? Since i dont want to preload  inside the game 

  • Sonar Systems admin
    Likes 0

    No unfortunately 

  • Gurudath
    Likes 0

    Okay. 

    Just i want to know from user persepective. Which one is better?

    1. Loading all at the beggining. Initial Loading Time is little more
    2. Loading Some sounds at the transition from Menu to game

     

Login to reply