Skip to content

oniongarlic/qml-box2d-qt4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QML Box2D plugin
----------------
This is fork of the Box2D-QML bindings (from https://gitorious.org/qml-box2d), providing updated Box2D version (2.2.1) and more features.

Features include:

 Box2D upgraded to 2.2.1
 Joint release/grab
 WeldJoint added
 WheelJoint added
 FrictionJoint added
 Basic Edge shape support added 
 Missing properties and methods added (gravityScale, getMass(), getInertia(), angularVelocity, etc)
 Body fixture iteration added
 MouseJoint added

This version is maintained by Kaj-Michael Lang <milang@tal.org>
http://maemo.tal.org/index.php/maemo:box2d_qml

Original README below:
-----------------------------------------------------------------------------

This plugin is meant to be installed to your Qt/imports directory, or shipped
in a directory of which the parent is added as import path.

The goal is to expose the functionality of Box2D as QML components, in order
to make it easy to write physics based games in QML.


INSTALLING

 qmake
 make
 make install  (goes to Qt's import path, run with sudo if necessary)


RUNNING THE EXAMPLE

 qmlviewer examples/boxes/boxes.qml


DEPLOYMENT

Support for deployment to mobile devices like the N900 and N8 is being worked
on.


USING QT CREATOR

For running you can use a "Custom Executable" configuration set to run
"qmlviewer" with the right parameters.

When you have write permissions to Qt's import path, it can be convenient to
add a deployment step to your run settings:

 * Go to Projects -> box2d -> Run Settings
 * Choose Add Deploy Step -> Make
 * Enter "install" under "Make arguments"

This will make sure that before running, the version of the plugin is updated
in Qt's import path.

About

My unmaintained expanded QML Box2D bindings for Qt 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages