Saves player state during each frame