Tuesday, March 23, 2010

Keystroke on Cast Member

Hey guys,

I got some code last week from this forum (Thx), but I need
to alter it slightly.



if keyPressed(''A'')

then sprite(X).mouseUp()



This allows me to control the movement of a sprite using the
keyboard rather than using the mouse.



But as my sprite moves from tile to tile it obviously changes
from the original sprite. I need to alter the code to move the csat
member number rather than the sprite....any suggestions?



Regards,

Ronan

No comments:

Post a Comment