I'm creating a maze game (big thanks to Yann for his excellent grid example). I'd like to find a way to have the player leave a line behind themselves as they move forward (so you could follow their progress from start to finish). I thought about anchoring a coloured sprite to the start point, and making it stretch to the location of the player object (which is fine for straight line movement). But as the player can turn at 90 degrees through the maze, I'm not sure this would work.
I haven't had much luck finding an answer, so if someone could point me in the right direction to get me started, I'd be very grateful.