Flake Posted June 4, 2015 Share Posted June 4, 2015 Hello! I've got a question about the v3 assetloader/resourceloader:After loading an asset like such:var loader = PIXI.loader;loader.add('img',"assets/image.jpg");.. can I access the resource with (what I assume is ) the key? Edit: posted it wrong the first time In other words? Is there a way to do this:var sprite = PIXI.Sprite.fromFrame("img");..instead of what I'm doing currently:var sprite = PIXI.Sprite.fromFrame("assets/image.jpg");appreciated as always! Quote Link to comment Share on other sites More sharing options...
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.