Skip to content

Demo of the Pixel game library and box2d physics engine

Notifications You must be signed in to change notification settings

scottyw/falling-trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falling trees in Pixel using box2d

A small demo showing a bunch of tree sprites falling onto a base that isn't quite big enough to hold them all. Pixel is used to drive the graphics with box2d performing the physics simulation.

Use the mouse wheel to scroll out. Check out the trees that fell off the base and are now falling forever. Left click to recentre the view.

Run like this:

go run falling/main.go

Trees mid-fall onto a plain base with a triangle to add some interest

About

Demo of the Pixel game library and box2d physics engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published