Thanks for the example @Ize, I've taken a look and think I get what's happening, and it should help to get me started.
One further question about the example; what if I wanted the trail to be a solid, rather than a group of dashed lines?
I guess I could use the same approach (i.e. make solid blocks and place them next to one another on the layout, so that they appear to be joined together).
But in order for them to reveal smoothly, wouldn't I need to make my solid line from lots of small blocks, and wouldn't that greatly increase the number of sprites on the screen, thereby slowing things up in the game?
Is there some way I can create one long solid line and just reveal parts of it as my player passes by (so that just the section behind the player is showing)?
Thanks again, I really appreciate your help. Pantaloons2013-05-03 11:22:39