MonsieurPixel Posted June 29, 2014 Share Posted June 29, 2014 Hi guys, I'm currently making a platformer. I start having a lot of sprites, mainly because every object is animated on 40 frames. My spritesheet just crossed the 2048x2048 limit and it seems that Pixi (or the browser, for all I know) won't accept my 4096x2048 spritesheet. From there, two options :- stick to one Spritesheet and decrease the animation framerate tp 30fps (as it can be done in EaselJS for example). Then divide my number of sprites by two. The engine would still run at 60fps but would play 1 image every two frames.- start using more than one Spritesheet and add all this via assetToLoader. Would be quite easy but what happens to the performances when you start using more than one big texture ? And when, for example, a MovieClip jumps from one to another when displaying animations ? Thank you for helping me, have a nice day ! 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.