That Fruit Game - Development Blog Part 3 - Physics Engine

Опубликовано: 23 Март 2026
на канале: Ethan Shulman
38
2

To create the physics engine I started by creating the line based polygon collider code, since all the fruits would be different shapes I needed a flexible collider shape. Once I had the collider collision solution I had what I needed and jumped straight in to writing the physics simulation. Creating a 2D physics engine from scratch is a big challenge and I'm very happy I was able to get this games physics stable. That Fruit Game development blog covers creating a small physics based puzzle game from scratch in Javascript with no libraries, engines or tools.
Part 4    • That Fruit Game - Development Blog Part 4 ...  
Part 2    • That Fruit Game - Development Blog Part 2 ...  

Download the complete source code https://xaloez.com/ThatFruitGame/That...

Drop and combine fruit until the glass is full. Casual physics based puzzle game, drop fruit at your own pace, predict the physics and organize to win.
Play on PC or mobile https://xaloez.com/ThatFruitGame

Website: https://xaloez.com/