released the Physaxe 2D Physics kit for haXe today.
a virtual machine genius (maker of MTASC compiler, Neko and haXe (haXe compiles to target flash 6-9 but really only flash 9 is used anymore unless you are making banners))
It is heavily based on Glaze (demos) and Box2D which the Motor2, Glaze and Box2DFlashAS3 physics kits are all based on. Box2D is a great C++ 2D physics engine, it is simple which lended itself to being ported to AS3 quite easily. It is also a testament to AS3 that C++ kits are being ported into the language, not once, but many times. Also C ports like Chipmunk and other signs point to == AS3 is of fun.
Physaxe is quite amazing you must see the demos (very similar to Glade demos), it will get the inspirational wheels turning in your idea machines.
2D Physics in Flash and AS3 are extremely hot and can be used for many, many things from game development to promotions to simulations to user interface or visualizations and even modeling natural systems. It is nice to have a port of Box2D and similar to glade capabilities with Chipmunk like Glade has.
A game and physics engine for Flash including:
- Rigid Body Dynamics
- Scene management
- Line of sight
- User Input
Core parts of the physics solver and collision system are based on the C physics engine Chipmunk
Notes about Physaxe:
Physaxe is a 2D Rigid Body Library written in haXe. It’s been highly optimized for the Flash 9 Player, with the best optimizations available.
Physaxe is based on several existing physics engines, mainly :
- Box2D, the reference open source physics engine
- Glaze, an AS3 engine which is a port of Chipmunk, itself based on Box2D
Physaxe features are :
- rigid body consisting in several shapes
- shapes supported are circles, segments (with rounded edges) and arbitrary convex polygons
- customizable broadphase (currently bruteforce and y-sorted list are available)
- island resolution and sleeping (allow ~0 CPU to be spent when groups are sleeping)
- constraint solver based on Box2D sequential impulses
- customizable body properties, such as linear/angular friction and maximized motion
Updated list of physics engines are like this:
AS3 3D Physics Engines (Open Source)
AS3 2D Physics Engines (Open Source)
haXe 2D Physics Engines
Get your game on! It is best to get them out early and often. I need to take my own advice.