How do I make it so that on a platform game, there is an NPC that follows you around, then on a certain key pressed he stops following you?
Develop games in your browser. Powerful, performant & highly capable.
This gets a little complicated if its a platform game..
Does the NPC have all the same properties as you? Like same gravity, mass, jump strength?
Is there moving platforms in your game?
Yes, and Yes, but I can fix the moving platforms thing so he wont fall.
If arrow key is pressed, wait 1 second, then simulate the control for the following platform character? :)
Thanks! It worked!