IoT-Gadgets-Logo-272-90

Box2D and Box2D-QML for MeeGo Harmattan

By
Sam
 - 
Jul 28, 2011

 

Box2D-Box2D-QML-MeeGo-Harmattan-MeeGoExperts

On my travels on the inter-web thingy majig, I found the following article on Box2D and Box2d-Qml:

What is Box 2D (according to Wikipedia) ?

Box2D is a free open source 2-dimensional physics simulator engine written in C++ by Erin Catto and published under the zlib license. It has been used in Crayon Physics DeluxeRolandoFantastic ContraptionIncredibotsAngry BirdsTransformiceStripe physics and many online Flash games,[3] as well as iPhone, iPad and Android games using the Corona framework.

Which nicely brings us onto Michael Sheldons Article:

I’ve just built some Box2D and Box2D-QML packages for Harmattan. The Box2D-QML package is especially interesting, this wraps the Box2D API as QObjects allowing them to be made use of directly from within QML. So you don’t need any extra C++ to handle physics simulation for simple games or similar. Here’s a short video of one of the demos running on an N950:

The source code for the above demo can be seen in the Box2D-QML repository here: Monera Example and thanks to these wrappers is very simple.

Packages for the N9/N950 can be found in my OBS repository, simply download <Please refer to Source site below> into /etc/apt/sources.list.d/ and run apt-get update to make the repository available on your device, or just download the packages you’re interested in directly from http://repo.pub.meego.com/home:/elleo/Harmattan/armel/.

Many thanks to the Box2D and Box2D-QML teams for creating such nice tools, I’d certainly recommend them to anyone interested in 2D game development on the N9/N950 phones.

Source Michael Sheldon's Stuff

IoT-Gadgets-Logo-272-90

About us

IoT Gadgets is dedicated to bring you all the Internet of Things IoT news that pertains to gadgets. Simple. We love for you to join us on this journey.

Contact us: [email protected]

FOLLOW US

crossmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram