yurqo Posted February 4, 2020 Share Posted February 4, 2020 Let's say I have multiple frame by frame animations. PIXI.AnimatedSprite instance could be created using spritesheet, but what if i want to merge animation spritesheets (if they are small enough) into one big spritesheet but maintain refference to nested sheets? Is it possible and if so, is it even worth it? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 4, 2020 Share Posted February 4, 2020 There's no such function in vanilla pixijs. Its possible and I made it many times. However it requires some coding. Here's the thing that works in pixi-v4: https://github.com/gameofbombs/pixi-super-atlas Its not ported to v5 yet. It has TextureRegion hack specially for nested spritesheets: https://github.com/gameofbombs/pixi-super-atlas/blob/master/src/core/TextureRegion.ts Unfortunately I cant give you more. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.