Jump to content

Alter contents of loading .json file.


Slaus
 Share

Recommended Posts

Resources to load are specified with a list of .json files generated by TexturePacker.

I need to cancel caching so intend to append "file.png?123456" unique numbers to every file specified within .json files.

I specified middleware to do that but somehow middleware is actually called for file.png even before it is called for file.json

Is it possible to modify contents of loading .json files on the fly? Or just solve such problem in any other way?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...