Sign in to follow this  
Slaus

Alter contents of loading .json file.

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?

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.