GBear Posted August 15, 2017 Share Posted August 15, 2017 hi.. i'm using pixi.3.x. it's modified to use our game. (many many parts) so we can't upgrade pixi.4.x i tested before and 4.x is more good with ios it showed different result. 4.0 is twice better than 3.x with ios( not android, android is similar) so i wanna modify 3.x. do you give me any tips? or tell me please why 4.x is much better with ios thx Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 15, 2017 Share Posted August 15, 2017 1. v4 has TransformStatic class that doesn't compute matrices when nothing was changed. https://github.com/pixijs/pixi.js/blob/dev/src/core/display/TransformStatic.js 2. v4 SpriteRenderer can switch between multiple textures in the same batch. Sometimes it helps, sometimes it slows down. https://github.com/pixijs/pixi.js/blob/dev/src/core/sprites/webgl/SpriteRenderer.js That task is too big to explain in forums. I've made fork of v4 a year ago, now im reviewing new v5 code. I know that you use very customized v3 fork. That's a paid-grade consultation stuff. mattstyles 1 Quote Link to comment Share on other sites More sharing options...
GBear Posted August 17, 2017 Author Share Posted August 17, 2017 @ivan.popelyshev hi ivan. long time no see thx.. i'm always expecting new pixi. and your new tech demo.. they give very good idea..^^/ i will check to customize about TransformStacic first....(multi texture is not easy T_T) thx.. 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.