past positions are stored in an array, and afterimage copies of the sprite reference those positions