Jump to content

Need Tips to perform up on ios with pixi.3.x


GBear
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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