DCSIMG
Simple Box2D Flex Example - מקודד לשווא

Simple Box2D Flex Example

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



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...
read more
Published Sunday, July 11, 2010 10:30 PM על ידי danielisimo
תגים:, , , , ,

תוכן התגובה

אין תגובות
Powered by Community Server (Commercial Edition), by Telligent Systems