Animate character while moving

Started by markcullinane, Mon 23/02/2004 18:35:13

Previous topic - Next topic

markcullinane

First off, thank you once again Scorpiourus for helping me last time. It's much appreciated.

Again this is with my Pac-man game-
I have a ghost, and on View 15 (the ghost's view) there is the standard ghost sprite, as well as another with red eyes- the idea is to make his eyes flash repeatedly as he moves. AnimateCharacter does this fine- but it stops the ghost in his tracks. I need it animated while it moves. Is this possible?
(The ghost is a character as opposed to an object by the way)

Thanks,
Mark

Scummbuddy

anyway you could incorporate his flashing eyes into his walking view?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Scorpiorus

Or, in case you don't want to redraw them, use FOLLOW_EXACTLY parameter with the FollowCharacterEx() function:

FollowCharacterEx (RED_EYES, GHOST, FOLLOW_EXACTLY, 0);

AnimateCharacter(RED_EYES,....);

~Cheers

SMF spam blocked by CleanTalk