Hi guys and gals. I'm hoping you can help, it seems so simple but I can't seem to get it right. What I want to do is for a condition check for the right mouse button to be down. For actions what I want is for my sprite to move towards the mouse but also start the correct animation within the sprite.For example:
condition on right mouse: action: down move sprite 1 pixel toward andgle(spritex,spritey,mousex,mousey) if angle <=22.5 or >= 337.5 set animation "runningeast" play from beginning.
But when I do it that way it moves the sprite but the animation doesn't trigger. Does anyone have any work around for this? Pretty Please :) Pretty please with cheese on top. :)
Thank you in advance,
PS this doesn't seem to work at all:
<img src="https://dl.dropbox.com/u/77974757/Capture.PNG" border="0" />