15 Jul 2011 Elleo   » (Journeyer)

Box2D and Box2D-QML for Harmattan

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 elleo.list 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.

Syndicated 2011-07-15 16:44:19 from Michael Sheldon's Stuff

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!