Closed vicksonzero closed 4 years ago
seems like running inside phaser is also a good idea, provided i can run 2 frames in PhysicsSystem if needed
Why choose Box2D over MatterJS:
and box2d is more battle-proven (long history, with more games made) than matter js,
also more features
people say box2d is faster, but i dont care that much. it seems to me that box2d is just a bit more feature-complete to use. box2d has true circle shape, and matterjs has to approximate it in polygon shape
box2d uses meters while matterjs uses pixels which is a pain in the ass to do transformation from physics to game, and back into physics
another benefit is that we can find good amount of box2d materials from the web (although in c++) because people have used it in a long time
box 2d has a query by aabb function that can optimize lots of AOE attacks without creating a sensor collider first