HOW TO IMPROVE PHYSICS PERFORMANCE ON MOBILE

0 favourites
  • 3 posts
From the Asset Store
Firebase: Analytics, Dynamic Links, Remote Config, Performance, Crashlytics on Android, iOS & Web Browser
  • Hello evryone

    i want to ask why is construct2 physics performence bad on mobile devices

    and if there is a way to improve it .

    i have made some test and try to figure out things <img src="smileys/smiley5.gif" border="0" align="middle" />

    i made :

    a simple box with physics behaviours + drag behaviours

    a simple ground with physics behaviours

    a text to show FPS + renderer

    export project to NEW XDK and i use the emulate option to see how it performe .

    well the fps is at 60 in idle but when i touch the box and move it the frame rate drop to the half at 30~35   <img src="smileys/smiley18.gif" border="0" align="middle" />

    same story when i use the LAN option

    i have tried both box2d web and cocon native the asm do not work it show a black screen

    ANY IDEA   <img src="smileys/smiley12.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For a overly simplified answer: Physics performance is highly dependent on two things. CPU speed and Javascript implementation. On desktop systems we usually have (ballpark) 10* more powerfull processors and much more optimized Web browsers.

    Also, always check performance and compatibility on real mobile devices. The XDK emulator may be somewhat sluggish, and may well be that some new mobile devices are performing better.

    Also posting the example (capx) might help fir others to check if there's something really bad at your code.

  • Asm.js physics should be considerably faster. If it doesn't work, post a bug report.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)