Ubuntu logo

Developer Summit

Game Development with QML and Box2D

2014-03-03 17:00..17:55 in App Dev

Box2D is a popular 2D physics engine and has been used in a wide range of games, including popular titles like Angry Birds, Crayon Physics Deluxe and Limbo.

Thanks to the QML-Box2D bindings, it's now possible to use Box2D natively as part of a QML application. Just about any QML component can be given physical properties (such as weight, restitution, friction, collision) and manipulated in a 2D physics environment.

The combination of Box2D and QML makes for a great environment for rapidly creating 2D games in a wide variety of styles with much of the heavy lifting already handled for you.

In this talk we'll look at some common features of Box2D and how they can be made use of from within QML to achieve a range of different effects.