Is there a limit on the file size that can be loaded with AJAX?

0 favourites
  • 1 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • Hi

    I got an issue. I'm using Ajax to load .json files into dictionaries.

    In my project there are 90 files.

    My problem is that 9 of them won't load. It does not throw any error message or anything and the "on tag completed" is triggered but nothing is loaded into my dictionaries.

    I've tried everything but I think the problem is their sizes. It works fine on the computer and trough remote preview though.

    The files that won't load are 297-762 kbs large. Files smaller than that are loaded into my dictionaries w/o any problems.

    When I delete data from the files they are loaded so the problem is clearly their size.

    What could be a fix for this?

    Should I split all data into several smaller files or is there any other way?

    Is this a hardware limitation?

    How can I ensure my files are loaded on all devices?

    If anyone has any advice I would really appreciate it!


    I'm using the C3 runtime and trying on an android device.

  • 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)