Particles follow event

I am sure that there is probably a very easy way to do this, but I am having some trouble.

I would like to put an emitter on an object, and then have particles emit from there to any point on the screen where the user touches.

I was thinking of using SetEmitterTarget, but I cannot figure out how to pass the appropriate variables (namely event.x and event.y)

Has anyone done anything like this before?

views:1196 update:2012/1/1 13:29:50
corona forums © 2003-2011