Thursday, October 27, 2011

Repulser, pass #1



I modded the libgdx particle emitter class to allow the programmer to have old particles track a specific angle.  I did this so that I could get the effect you see above.  It's a repulse ray.  I need to polish it up a bit -- the player's tracer line appears when it shouldn't (this is a screenshot of the first, proof-of-concept pass).  But, it looks functional and I like how it emanates outward.  I was going to try to animate this action with multiple images, but using particles gives a waaaaay better effect.  Things should be fixed up tomorrow.

No comments:

Post a Comment