Is there a way to fix this? It doesn't happen all the time but very often, sometime the animations are normal depending on if I press the key of the direction I want my character to move twice in a row but it's kinda annoying...
Please help me!
direct = 1;direct = 2;if (direct == 1)
{
ChangeAnimation("Event Actor", "right", NO_CHANGE);
actor.x=actor.x + 5;
}
if (direct == 2)
{
ChangeAnimation("Event Actor", "left", NO_CHANGE);
actor.x = actor.x - 5;
}
if (direct == 0)
{
ChangeAnimationDirection("Event Actor", STOPPED);
animpos = 0;
}direct = 0;directUsers browsing this forum: No registered users and 1 guest