Using Flade
Hi there,
Recently i had a project that had to be done in AS2, and to top that it needed to have some physics.
My first thought was, well i'll just use the AS2 version of APE, and then remembered that there isn't one.
Then i found flade.
Made by Alec Cove ( the same guy that does APE ).
Now I wanted to see some tutorials or documentation, but as expected for such an 'ancient' engine there were none.
So I decided to make a simple little tutorial on how to throw things arround using flade.
Files: Flade Example
Demo: Flade Demo
You will need Flash 8, and the Flade files found here.
So here's the code:
October 14th, 2007 at 6:20 am
Hi!
Thanks for this! I have to use flade for a small project, and I just couldn’t find any doc. either. And I just couldn’t figure out how to attach a MC to a particle. Now it’s clear that it’s impossible, the mc has to follow the particle.
In your example, let’s say there are multiple ball mc-s. Is there any way to set the collision between the balls, or they can only bounce off a LineSurface object?
Thanks very much!
October 15th, 2007 at 3:51 am
flade is a very simple engine and only supports colisions between particles and surfaces.
You can make other types of surfaces, like rectangles, circles…
And it wouldn’t be hard to implement a rectangleTile on the rectangleParticle. As soon as i have the free time, i’ll post some code.
October 16th, 2007 at 11:20 am
Oh, that would be nice! I couldn’t find the solution until now
January 10th, 2008 at 7:18 pm
Idoru,
I’d be interested to see how you would get a surface to track a particle. Surfaces don’t appear to have a method that would allow dynamic positioning.
IMO, it can’t be done - would love to be proven wrong though.
-r
July 29th, 2008 at 7:32 pm
Wow… I was looking for Flade documentation and whats weired it cant be found in the official site! Luckily you made this
Thx for ur effort.
July 29th, 2008 at 9:14 pm
August 4th, 2008 at 4:19 pm
I started up a small site to try and help me and others learn more about flade. I’m only 12 so as you can imagine I don’t know that much about flade.
It would be fab if someone could go
http://www.freewebs.com/fladezombie
and give me and other people a bit of help.
August 5th, 2008 at 7:48 am
Hey all, I’ve got a project were I’m forced to use Flash 8 that also requires me to use a physics engine like flade.
Flade for AS2 appears to be a turd as it is now, but APE for AS3 looks pretty good and is at least maintained at some level.
Right now I’m in the middle of converting the latest version of APE to AS2. So far it seems to work (though obviously it’s not nearly as powerful!). When I’m done, and if I remember, I’ll post a link to the converted code here.
August 5th, 2008 at 11:38 am
@Mike, Sounds great looking forward to see the conversion, if you need a place to host your project let us know!