DCSIMG
box2d - מקודד לשווא

Browse by Tags

All Tags » box2d (RSS)

Pong Applied Box2DFlex Physics Engine by danielisimo

I decided to learn by example and assigned myself the goal of building pong in box2d. box2d is an overkill for pong , but what do you know, it's damn easy. the gist of it is : layout world setup event handling read more

Box2D Flex Complex Shapes Mapping by danielisimo

One of the drawbacks in box2d is that it's not supporting concave polygon shapes . for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling) at this point i would like to give credits to sakri.net for he's shape outline algorithm makc.coverthesky.com for he's polygon2d both state that their algorithms are far from perfect but for a v0.2 it's a good start. in this case I'll start from the demo and then.....

Simple Box2D Flex Example by danielisimo

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...
תגים:, , , , ,

Announcing Box2D Flex framework by danielisimo

Prefix In a previous post demonstrating box2d integration with flex I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code & architecture and step by step I realized that I'm creating a small Integration layer rather then a POC. Announcing Box2DFlex Box2DFlex framework allows you easely integrate box2d into flex framework using mxml. The...
Powered by Community Server (Commercial Edition), by Telligent Systems