Jump to content

scene optimization, issue on mobile devices


Recommended Posts


We are almost done with our project and I'm getting to scene optimization, I recorded timeline with chrome, even if most of the issue are on Android tablet iOS seems to handle things better even with less RAM

on PC i recorded timeline and checked the example playground i fist looked at when i started the project


since in my timeline setParticles is showed, i guess, on each render i was wondering if that is correct in example linked above is inside createScene function ( as in my project ) so is called each time the render loop fires createScene

I also have Synchronous alert by hand.min.js is that normal?

we also have scene.registerBeforeRender inside createScene function, i found it in this playground


i guess is correct but just checking :-)


On Android tablet, Samsung tab S2 8", i guest page to crash and reload while loading contents. I use assetsManager.

With remote console on chrome i can't see any error i just get a disconnected error when tab crash and reload itself


capture 2016-08-03_07-44-03_AM.png

Link to comment
Share on other sites

each frame, all the methods registered with scene.registerBeforeRender() are called each once. This is the place where you should implement your game logic.

You don't need to call createScene() each frame obviously

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.

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.


  • Recently Browsing   0 members

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