www.fgks.org   »   [go: up one dir, main page]

APE - Actionscript Physics Engine
APE (Actionscript Physics Engine) is a free AS3 open source 2D physics engine for use in Flash and Flex, released under the MIT License. APE is written and maintained by Alec Cove.

news
08-04-07:
C++ SDL Port by Daniele Maiorana
06-21-07:
Version 0.45 alpha released, and a new demo. See history below for details.
06-11-07:
Version 0.4 alpha released.
05-07-07:
Version 0.3 alpha released.
02-01-07:
Java port of ape by Theo Galanakis. Performance is roughly twice as fast as AS3.
12-02-06:
Added a tutorial: Flex Builder 2 - Quick start.
10-13-06:
Go ape! APE initial release.

demos


features
CircleParticles
-fixed or non-fixed
-variable mass, elasticity, and surface friction

RectangleParticles
-rotatable
-fixed or non-fixed
-variable mass, elasticity, and surface friction

WheelParticles
-traction and angular velocity
-fixed or non-fixed
-variable mass, elasticity, and surface friction

SpringConstraints
-stiffness
-collidable or non-collidible
-collidable constraints have variable width and scale

Grouping
-Composite class may contain Particles, and Constraints
-Group class may contain Particles, Constraints, and Composites

Collision
-multisampling
-static collision tests

Licensing
-non restrictive MIT License

tutorials
Flex Builder 2 - Quick start
(More coming soon)

history
06-11-07 Version 0.45
  • Two new properties for much greater stability - constraintCycles and constraintCollisionCycles
  • Group now takes collideInternal setting as a parameter in the constructor
  • Fixed a bug where certain particles/constraints would be drawn before their parent hierarchy was added to the engine
  • Corrected misc documentation errors/omissions
  • New Demo - walker robot

06-11-07 Version 0.4
  • Changed license to MIT
  • Groups added.
  • Composites added.
  • Multisampling added.
  • Added a base class, AbstractItem, the parent of both constraints and particles for better OOD
  • Fixed particles are no longer repainted, unless new property 'alwaysRepaint' is true -- improves performance
  • Some performance tweaks, especially with loops.
  • The 'container' property for particles and constraints renamed to 'sprite', for clarity.
  • The APEngine.container property is now of type DisplayObjectContainer, not Sprite.
  • Renamed 'rotation' to 'radian' in RectangleParticle to be consistent with SpringConstraint. Thanks to Robert Brisita
  • Removed corner particles and edge particles due to grouping issue. The same effect can be read with Composites, or Groups
  • Fixed a bug with SpringConstraint restLength <= 0. Thanks to Robert Brisita.


downloads
alpha 0.45 is the current release.

c++ sdl port (0.45a) by Daniele Maiorana.

java port (0.2a) by Theo Galanakis.

api
alpha 0.45 API

code repository
http://ape.googlecode.com/svn/

The repository is bleeding edge. For stable versions use the downloads above.

community
To keep track of project development, announcements, and for help, subscribe to the Google APE-General group below.

Google Groups
Visit this group