DEV Community

Cover image for Angry Birds - like Physics game in 15 minutes with ZIM!
Dr Abstract
Dr Abstract

Posted on

Angry Birds - like Physics game in 15 minutes with ZIM!

We have made an Angry Birds type game in 15 minutes at 66% the size of P5js and MatterJS. Here is the example https://zimjs.com/five/slingshot2.html.

// here is a circle that will fall to the ground:

new Circle().center().addPhysics();

// amazing! 
// Or we can start with physics to set gravity, borders, etc.

const physics = new Physics();
// and drag things in physics
physics.drag();
Enter fullscreen mode Exit fullscreen mode

The YouTube videos for the Code in Five Minutes series are here:




If you have not checked out the Canvas recently - you simply must! Here is the ZIM Dev Site and some In-depth Guides by Dr Abstract including Your Guide to Coding Creativity on the Canvas.

Top comments (4)

Collapse
 
karelrosseel profile image
Karel Rosseel

I made myself a real Angry Birds game : look on zimsalabim.webflow.io/#angrybirds and the playing game zimsalabim.webflow.io/angry/angryb...
Thanks Mister Dan Zen alias Dr. Abstract

Collapse
 
karelrosseel profile image
Karel Rosseel

now you can find the zapp here zimjs.com/zapp/E_9V4ZT

Collapse
 
karelrosseel profile image
Karel Rosseel

now 5 years later there is beautifull game made snow-chaos.games.playgama.com/cm3o... you can see it is code of ZIM with ctrl+u onto the page, but compiled in Adobe Animate because ZIM uses CreateJS what is also used in Adobe Animate. Have fun playing it! the normal link is playgama.com/export/game/snow-chaos fulscreen or within an iframe on playgama.com/game/snow-chaos

Collapse
 
zimlearn profile image
Dr Abstract

Sorry - we originally posted the the first video twice! Now that is adjusted to show the third video in the series - thanks @yalondpsi!