GHLgh/Don-t

Tuning of the rigid body

Opened this issue · 1 comments

GHLgh commented

If the game is running on device with different pixel ratio, it is apparently that the intensity of game object's movement is different given that the default mass and the force applied on the game object are the same. Need to read more about Matter.js, the physics engine that is currently using.

GHLgh commented

The possible reason is that the amount of pixel displayed on mobile device (pixel ratio > 1) is significantly larger than the game is designed on, such that even though velocity (pixel / frame) is the same given the mass and force are kept the same, the object is seemed slower due to scaling on its size.