Jump to content

Large scene performance


Upsinn
 Share

Recommended Posts

Hi, i have a simple scene in fullhd resolution, but only a few parts of the screen has to be interactive so.... Is it better solution render whole scene with pixi in 60fps or divide screen to several canvases (interactive parts) and put it into one div with speicfic css position styles? Has DOM some performance advantage? How would you proceed? thx

Link to comment
Share on other sites

If your background isnt moving, then yes, its better to use native "compositeLayers" solution, just use separate canvas for that, with CanvasRenderer, or may be just an image. Though I still dont know why, I just had bigger FPS on mobiles with that. PIXI has no special function that deal with that.

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