V-Play has a new name, say hi to Felgo!Learn More

Box2dExamplesMain.qml Example File

examples/physics/box2d-examples/qml/Box2dExamplesMain.qml
 import QtQuick 2.0

 import "accelerometer"
 import "boxes"
 import "demolition"
 import "distance"
 import "filtering"
 import "impulse"
 import "monera"
 import "movingBox"
 import "polygons"
 import "prismatic"
 import "raycast"
 import "revolute"
 import "rope"
 import "twoWorlds"

 // ATTENTION: the Box2D examples are NOT working at the moment, because they were copied over from the original box2d-plugin
 // but this plugin was heavily modified (anchoring is different, bodies get aligned in the center automatically)
 // but for API-investigation, the examples can still be used, as the properties mostly stayed the same, only got enhanced with more functions & properties but no property of the original plugin was removed!

 //Accelerometer {} // the Accelerometer example is NOT working at the moment, because acceleration sensors are not supported yet!
 Boxes {}
 //Demolition {}
 //Filtering {}
 //Impulse {}
 //Monera {}
 //MovingBox {}
 //Polygons {}
 //Raycast {}
 //TwoWorlds{}

 // Joints
 //Distance {}
 //Prismatic {}
 //Revolute {}
 //Rope {}

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support