$ 0 0 Check my response to this thread. It details how to convert your player's world coordinates to viewport coordinates. For further info, you probably need to look up some platform game dev tutorials.