PDA

View Full Version : Ruin effect


baby_annie
06-03-2004, 07:29 AM
Hi,
Anyone have an example of ruin image, ruined object effect.
What i mean is:
It's like a picture became thounsands of pixel, dots flyout or fall down....
Thank you,

wack
06-03-2004, 07:54 AM
hmmm good question...

petefs
06-03-2004, 07:53 PM
unfortunately flash has no method to detect pixel colour values : ( using PHP (or something like that :b ) you could step through an image and return a (relatively large) array of pixel values, and then generate with the drawing API a series of image 'particles'. Then it would be a simple matter of using some sort of particle explosion algorithm to handle moving them all. (there are some good ones at http://www.robertpenner.com/ to give you a head start)

I think there have been some posts on bit-101 and a few other boards about doing this -- but I'm hoping one of the gurus or self-denying gurus that has done a lot of this sort of thing can come on and give you more specific help : )

baby_annie
06-04-2004, 08:24 AM
I means the particles effects, i found this one for the idea:
http://www.levitated.net/daily/levGatheringLine.html

petefs
06-04-2004, 01:55 PM
The source is on the site -- what is it that you want to do with it? : )

baby_annie
06-04-2004, 02:12 PM
That nearly like what i want to do. If i can do something nice with it, i will post here :)