IBM Developer company blog

Build a simple 2D physics engine for JavaScript games (2012)

Sometimes, the complexity and overhead of a third-party physics library, such as Box2D, is overkill for your JavaScript game. In this article, walk through an implementation of a straightforward 2D physics engine. Learn to create a simple physics world with gravity and collision detection between game objects. This…
Points
122
HN comments
36
Submissions
1
Cited by
0 commenters

Games & GraphicsWeb & Frontend2022

On Hacker News

SubmittedTitle on HNPointsComments
Aug 24, 2022Build a simple 2D physics engine for JavaScript games (2012) by WoodenChair12236

More from IBM Developer

All 12 posts →

Related posts from the same era