Is there a way to record the player movement and simultaneously plays the recording in a ghost.
The result is to create the delusion that the ghost copys the player movements and chase it, and when the player touches the ghost, dies.
Is there any way to do this?
Develop games in your browser. Powerful, performant & highly capable.
player.X - a and player.Y - b?