View Single Post
Old 02-11-2010, 09:02 PM
Engine Engine is offline
Registered User
Join Date: Jan 2010
Posts: 70
Engine is on a distinguished road
Shouldn't this make the particle effects find the player? I have tried searching the forums but couldn't find anything about this. Can you even get the particles x/y and change it's angle after it has been emitted?
PHP Code:
function onTimeout(){
temp.dx = ((player.x+1.5) - (findimg(200).emitter.particle.x));
temp.dy = ((player.y+2) - (findimg(200).emitter.particle.y));
findimg(200).emitter.particle.angle getangle(temp.dx,temp.dy);

Reply With Quote