Character movement: use ONLY the Diagonal Loops

Started by Emin, Mon 14/12/2009 19:10:21

Previous topic - Next topic

Emin

 Hi =)

First, sorry about my bad english; I hope you'll have no problems understanding this...

I know you can enable/disable diagonal loops for a 4 way/8 way direction movement; but I want to use ONLY the loops 4-7 (the diagonal ones), and disable the "walk up", "down", "left" and "right" loops.

So the character will only move up-right, up-left, down-right, down-left... is it possible?

Thank you in advance.


monkey0506

I think the only way to do something such as that would be to substitute specific loops in place of the standard ones. What I mean is you could use the "up-left" frames in the normal "up" loop, the "up-right" frames in the normal "right" loop, etc.

Obviously this isn't optimal but if you put just a transparent frame or standing frame then the character won't animate at all. Unfortunately there's no way to lock the character's movement to diagonal lines (outside of the script, where you can use WalkStraight with specific co-ordinates to emulate this), so I can't think of any other way of doing it. Using WalkStraight should eliminate the usage of those loops I believe (so long as the point given is diagonal in relation to the character's position), but if it does show the loop it would look rather silly for them to just disappear or stop moving their legs for those frames...

Emin

 I've already tried to substitute the 0-3 loops; but sometimes the character walks looking at the "wrong" direction.

Well... I think I will use all the loops; (more sprites = more art-work, gñah...)

Thank you for replying =)

SMF spam blocked by CleanTalk