ID:294362
 
Hi! Im newbie on Byond engine and Im having problems with icons animation.

I have one movie icon that repeats twice. The problem is that it only plays when I change direction. If I keep moving in the same direction, it does not restart. The thing is that I want that it plays the animation always it walks one square. Could anyone help?

If you didnt understand my point, please let me know.

Thanks xD

OBS: To walk, I do some timing protections, Im using the proc step to do the movement.
Dear LucasJA,

If you intend to create a game, the first step should be to start here, since this is going to provide you with material to learn the basics of programming (in BYOND).
Try to have a look at the DM guide (and reference), since these will enlighten you past any tutorial you're working on. But don't 'rush through'(browse), like with a comic.
Sometimes you will think that you already know something, when you do not yet know all of the functionality.
Or, you think that something is 'too basic/of no use' for you, but every advanced bit of code is actually built out of these basic (tiresome) parts.

If you still did not manage, your next step would be to use the forum search (of the right forum, in this case Developers), since it is likely that your problem has been discussed before already and there are various replies.

Whenever you are struggling, a developer should use the Developer forum to seek assistance from like-minded community members.

As for your specific problem, I fear that you'd have to show the relevant code snippet to the people volunteering to assist you.

Thank you in advance.

Yours,
Schnitzelnagler.