Pixel based physics engine with HTML5 example powered by Phaser

Posted on 29th Jul 2020. Follow @phaser_ and get the Phaser World newsletter.

image

Emanuele Feronato shares a great example using a pixel based physics engine with Phaser.

From the article: "Here I am with a pixel based physics engine. What is a pixel based physics engine? It’s basically a physics engine without physics: there is just a bouncing ball whose circumference is constantly scanned to check if it overlaps some stuff on the screen. Then we use trigonometry to calculate how the ball should bounce."

Read More