Jump to content

Preload With External Loader


Recommended Posts

Hey all, I've been searching but not really finding an answer.


The PixiJS Asset loader says:


"Once the assets have been loaded they are added to the PIXI Texture cache and can be accessed easily through PIXI.Texture.fromImage() and PIXI.Sprite.fromImage()"


So if I want to use an external loader, is it cool for me to stick things in the cache myself?


Maybe like this: PIXI.TextureCache[textureName + '-' + i] = texture;?





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.

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.


  • Recently Browsing   0 members

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