- Joined
- May 4, 2014
- Messages
- 340
- Reaction score
- 481
- Primarily Uses
Hey guys,
I'm trying to make a sort of ghost npc to imitate the player's movement.
Through eventing, I can get npcs to move in the same direction as me, but it isn't quite a mirror. (They are just parallel processes that wait on arrow key presses and then take a movement route accordingly.) From top to bottom:
Side note, I don't need the movement to match perfectly, but I'd like it if the ghost/clone could take a few steps without being obviously off.
Any ideas/feedback would be highly appreciated. Thanks in advance.
I'm trying to make a sort of ghost npc to imitate the player's movement.
Through eventing, I can get npcs to move in the same direction as me, but it isn't quite a mirror. (They are just parallel processes that wait on arrow key presses and then take a movement route accordingly.) From top to bottom:
- The actual player.
- Event that waits until movement finishes. (Normal speed, high frequency) The npc's speed doesn't match mine very well and the walk cycle looks a little clunky regardless of settings.
- Event that moves without waiting. (Normal speed, normal frequency) It appears to match my speed better. Then I realized that the npc always moves 1 extra tile.
Side note, I don't need the movement to match perfectly, but I'd like it if the ghost/clone could take a few steps without being obviously off.
Any ideas/feedback would be highly appreciated. Thanks in advance.
Last edited by a moderator:


