Jump to content

(Newbie) Forcing PIXI.js Sprite to be generated from an already cached image, but not in the loader.


hzjqn
 Share

Recommended Posts

So, I'm working in a project where we are using PIXI.js only to build a complex background animation in a more performant way than DOM element animations. We already have a preload system that creates a img element and fetches the images from the server before showing this background, but when I give PIXI.js the paths for these images it seems to not check if they are already available and fetches them again. Is there any way to force PIXI.js to use the already cached images?

 

I'm really new to PIXI.js, I know the Loader is meant to be used to preload resources but as we already have a system in place I dont want to have two systems with the same responsibility.

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