I’m having some issues with the particle emitters and the camera (which is perspective). There doesn’t seem to be much documentation so I’m having a bit of a hard time understanding why what I’m doing is wrong, but I’m clearly doing something wrong.
Sorry for the video quality and static sound, but here: https://www.youtube.com/watch?v=eDZL27jqbFo
You can see that the particles are not following the camera, and I don’t understand why.
local emitterParams = json.decode(emitterData) emitter = display.newEmitter(emitterParams) emitter.x = event.other.x emitter.y = event.other.y emitter:start() camera:add(emitter, 1)
https://github.com/ctmartinez1992/PachinkoRPG You can see the whole code here, I’m still pretty new to corona. I’m enjoying it, but I’m stumped on this one. I had no problems otherwise with the camera or the particles, but I don’t understand why I can’t just do this.
What I intend is that the particles stay on that lil barrel, but they are clearly fixed in a point in the camera.
Thanks for the help.