This is a small game that simulates bouncing balls with as realistic physics and collisions as possible.
The purpose is to test my skills in the game development space, specifically in game physics. Even though physics is already implemented in most game engines, I believe it's important to learn how physics works under the hood.
After a week of studying and working on this project, I've learned the basics of physics in games. While there's still a lot to learn (such as fully grasping concepts like aerodynamic drag), I believe it's good progress for that period of time.
pnpm install
pnpm dev
The Ultimate Guide for Physics in Game Development!: https://www.youtube.com/watch?v=3lBYVSplAuo
The Interesting Physics of Bouncing Balls: https://www.youtube.com/watch?v=Tb19Y_PR7jk
2D Physics Engine from Scratch (JS): https://www.youtube.com/watch?v=TUZvvmu4Yz4&list=PLo6lBZn6hgca1T7cNZXpiq4q395ljbEI_
Modeling Physics in Javascript: Gravity and Drag: https://burakkanber.com/blog/modeling-physics-javascript-gravity-and-drag/
Circle-Circle Collision Tutorial: https://ericleong.me/research/circle-circle/
Writing a Physics Engine from scratch: https://www.youtube.com/watch?v=lS_qeBy3aQI
Verlet Integration: https://www.youtube.com/watch?v=-GWTDhOQU6M