APE physics based tilttable

I have been working on a small pinball-game recently, and this demo is sort of a byproduct of that.
It’s using the excellent APE (Actionscript Physics Engine) and it’s interactive: the magnitude of the force as well as the shadows both are linked to the distance between the pointer and the largest ball-object. Go on, play around with it for a while.

I also included the full, commented source code in form of a FlashDevelop project.
Even though APE already has pretty good example files, this is another potentially very useful way to get introduced to the basics of the engine (setting up collision particles, constraints, forces, styles, etc.)
Of course to run the project you will also need the latest APE files, which you can get from here using a subversion client.

By the way, speaking of pinball: I can think of better ideas than trying to use APE for a pinball-simulation. There are certain nuances to pinball – particularly the behavior of the flippers – which are very hard to get exactly right with this engine.
“Tunneling” and “stickiness” are the two omnipresent threats that will push you down the slippery slope of resorting to convoluted, unholy trickeries such as timing / state-based property-changes on the flippers … and stuff.
You know, just sayin’ so you can’t claim later that I didn’t warn ya… ;)

There are no comments yet. Be the first and leave a response!

Leave a Reply

Headway Themes — The Drag & Drop WordPress Theme