Jump to content

Force Pixi Loader to ignore cached spritesheets and always load again


foxyfox
 Share

Recommended Posts

During development, I'd like to Pixi Loader to always load latest spritesheet images and ignore cached files.
I can do this to other assets like JS files by adding Date.now() to the end of the URL. But for spritesheets Pixi Loader takes JSON and then automatically loads whatever image file in the JSON.

How can I do this?

Link to comment
Share on other sites

7 hours ago, foxyfox said:

During development, I'd like to Pixi Loader to always load latest spritesheet images and ignore cached files.
I can do this to other assets like JS files by adding Date.now() to the end of the URL. But for spritesheets Pixi Loader takes JSON and then automatically loads whatever image file in the JSON.

How can I do this?

You can simply clear cache before adding new source to load. 

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...