Tried the Physics rolling project that comes with C2 in Firefox and Chrome, and the gameplay is twice as fast in Chrome.
The fps shows that it runs at 120fps, which should just make it runs smoother, not faster than FireFox's 60fps. Chrome bug? Or Firefox bug (being too slow)? I'm used to working with FF as a test browser.
EDIT: Not happening with the Space shooter or Platformer projects. Seems like it's physics only, some problem with Impulse applied to objects. Not sure if it's a browser or C2 issue.
Could be that because the browser runs at 120fps, the impulse is applied every frame and this means twice as many times on Chrome which results in faster movement of the physics object.
Also, games run way smoother in Chrome... they seem to jitter in Firefox even when running at 60fps. Do we know why?
Develop games in your browser. Powerful, performant & highly capable.
Physics is framerate dependent by default, so will run faster at a higher frame rate, though you can switch to independent. There's a manual entry on it somewhere.
Problem withn switching it is that the physics will work slightly different each time.
Searching for Framerate independent got me to the right place: scirra.com/tutorials/67/delta-time-and-framerate-independence
Searching for Chrome framerate or fps didn't work.
You guys know why even though hardware accelerated physics intense games aren't so smooth when played in Firefox? Could it have anything to do with the scroll-to behavior?