COGames's Recent Forum Activity

  • so they can take a picture, and then select it to use in the game?

  • Thanks, it seems it was something going on with my host. It worked itself out. :)

  • I've been updating my game and suddenly there's a red loading bar and it doesn't get past this state. Is this because my game is too big or something?

  • Can I ask you if you ever got this msg when uploading the APK file:

    "Your app currently targets API level 14 and must target at least API level 26"

    Early today I uploaded a file fine, then made one tiny change, and the got the above message. I can't figure out what to do now.

    Nevermind, I put the config file in the www directory and it worked. I did this before and forgot to do it with the new file.

  • How do I speed up audio, so for a motor sound it sounds like the car is going faster?

  • From my experience even huge text files load from project files in milliseconds on all browsers. However if you are displaying that text in a text field then that takes forever to load into the field in chrome compared to other browsers.

    Interesting. I'm actually loading it into a text object and then putting it into an array (I do this for all the words in the list until they're loaded). Maybe I should use a global variable instead. I'll try that and see what happens.

    Thanks

    Okay - I made the change but there's no difference.

  • Are you using AJAX to request files? Could you post a screenshot of your code?

    Yes, using AJAX (note that in my original post I accidently wrote JSON, which is incorrect).

    The thing is, in all browsers exept Chrome, the text file loads quickly. In Chrome (if the browser is cleared), the first text file requested takes a very long time to load (I have added a message to the user so they know something is loading - but it can take over 20 seconds). Note that the text file being loaded is about 1k, just a list of about 30 words. Once it's loaded, then all other text files will load at a normal speed. And if I close the game and reopen it, all text files load at a normal speed. It's just the very first file being requested at the very first time going in (in Chrome).

    I understand how audio files get loaded (sounds and music), but what about .TXT files?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having trouble in Chrome, where text files are gotten using AJAX, however, on the first time a text file is requested, I don't get anything from the file (no error either). If I wait (like 30 seconds) before initiating the JSON get, then it works. This is only in Chrome. This only happens the first time I open the game in Chrome once the browser was cleared. After that it always works.

  • Nevermind, turns out I had it set to preload all audio sounds (and I have a lot). Turned that off and now it's speedy quick

    UGH, but now in Chrome the audio is all delayed by about 5 seconds!

    Edited to add (if anyone reads this and cares) that preloading the audio that I need in a layout at the start of the layout, then it works in Chrome. Note that I'm using the latest release R259.

  • Nevermind, turns out I had it set to preload all audio sounds (and I have a lot). Turned that off and now it's speedy quick

  • I have two games which load to the same start up screen. One game has less layouts and less assets, while the other has many. The larger game takes a very long time to load comparted to the first, even though the first layout is exactly the same.

    I thought the layouts only load assets when used, so why is the larger game taking so much longer to load?

  • Walking it back:

    R255 - minifies.

    R256 - minifies.

    R257 - minifies.

    R257.2 - Did not minify.

    R257.3 - Did not minify.

    R258 - minifies.

    If the minifier wasn't changed for a few years, then this is very strange.

COGames's avatar

COGames

Member since 20 Dec, 2015

Twitter
COGames has 2 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies