Lots of Audio files causing problems

  • My HTML5 game runs fine, however, I have a ton of audio files which is creating a problem when using AJAX to get text files.

    Here's what I do:

    1. on start of layout I request thru AJAX a text file and I get it immediately.

    2. Then I press a button to get the same text file and it takes about a 40 seconds to get. Note that this project has many audio files loaded in the sound folder.

    3. When I do the same exact thing in a different project, with no audio files loaded in the sound folder, I get the text file right away when the button is pressed.

    Note that the audio files are never used, just loaded into the sound folder (this is from watering down my project to find the cause of the AJAX being so slow).

    Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)