how to make a walking animation continue when the person stops? (SOLVED)

Started by EnterTheStory (aka tolworthy), Wed 08/04/2009 10:32:33

Previous topic - Next topic

EnterTheStory (aka tolworthy)

I have a few characters where the same animation should play continuously, regardless of whether the character is moving or stops.

I could use the same animation for walking and idling, but as far as I can tell, every time a character moves the walking animation starts from frame 1. And when they stop the idle animation starts from frame 1. Is there any way to just have one long animation loop continuously? (I'm using 2.72)

Dualnames

I think there's a character plugin doing that. But I'm sure there must be a better way as well. How about placing.

cNPC1.Animate(view,loop,eNoBlock,eForwards);
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

EnterTheStory (aka tolworthy)

EDIT:
I found a workaround. The character now thinks it's staying still, but I sneakily change it's X and Y coordinates using repExAlways. It's not elegant, but it works reliably.

SMF spam blocked by CleanTalk