sprite's position on screen. Obviously this is a somewhat vague example, but hopefully it gets the point across. You may wish to use a similar method for horizontal movement, and of course you'll have to make sure the player can only jump while on the ground! You'll also need to make sure the SPOFS takes the camera position into amount if you're game has scrolling.