Rotating Arms
January 28, 2009, 09:32 by Nano
-->
In the arms Step Event put this script:
x=object arm is attached to.x
y=object arm is attached to.y
{
image_angle = point_direction(x,y,mouse_x,mouse_y);
if (mouse_x <= (object arm is attached to.x+7)) {
image_yscale = -1;
}
else {
image_yscale = 1;
}
}
.
Users logged in:
SekSpeelayjap
SekSpeelayjap
Comments
Loading comments...