The Daily Click ::. Forums ::. Klik Coding Help ::. How to make an object disintegrate into particles that are blown away by wind?
 

Post Reply  Post Oekaki 
 

Posted By Message

NMasutaa



Registered
  26/12/2004
Points
  301
15th August, 2010 at 08:28:09 -

Anyone know how to make an object gradually disintegrate into small particles that are then blown away by wind while the object is still disintegrating?

I'm thinking I could use the Particle Spray object, but I'm not sure.

 
n/a

Strife

Administrator
Der Dairy Crick

Registered
  21/11/2002
Points
  2305

VIP MemberGOTW AWARD! -Astro Dude - part 1 GOTM JULY - 2009 - 3RD PLACE!It's-a me, Mario!Has Donated, Thank You!I donated an open source project
15th August, 2010 at 12:56:47 -

I've always wondered how to do this myself without having to put it in the actual death animation. The only way I can see it happening so far is if you create a pixel object in every spot where it disintegrates, but that's definitely not an ideal solution.

Any tips guys?

 

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
15th August, 2010 at 13:29:45 -

I've wondered about this too, ever since playing "Pixelships" - when you destroy an enemy ship, all the individual pixels fly off and gradually start to fade away, but if you scoop them up quickly enough then you get to keep that ship and fly it yourself - it's very cool
http://www.pixelships.com/pxs_details.html

Anyway, I think it would be very difficult in MMF2.
If you wanted it to be truly accurate, then you'd have to create a new active object for every pixel (like NMasutaa said), and use a HWA shader to set the color (since "replace color" affects all instances).
If the object is mostly one color, you could probably get away with just creating pixels of roughly that color (with some random variation), in which case you could use the particle spray.
Either way, you'd also need an animation of the object gradually getting smaller.
Doing the whole thing as an animation would actually be pretty difficult I think, and incredibly tedious.

If it were me, I'd just finish the game, and worry about neat graphical effects after...

 
n/a
   

Post Reply



 



Advertisement

Worth A Click