Am i doing this right or wrong I have no idea how image sprite works, just watched and tried some in the youtube. I am having a problem with this portrait game. The image sprites im pertaining about are zombies that move to the left then I dont know how to contruct an algorithm on how it will comeback to original position and move again once it reached the edge of the canvas.