following my previous post announcing Box2D Flex framework i want to share some techniques via examples on how to use the library.
First thing we create add a SkinableContentContainer to and drop some contorls inside it
gist code snippet
This, still, does not do anything fancy it just initializes box2d and registers & measures all controls inside our physics container.
next step we add some bindable controls that will change our physics gravity and debug
and the bindable properties to our physics container
now we can play with the gravity sliders and see flex controls bounce around
Powered by WordPress and Mystique theme by digitalnature | RSS Feeds