This is the final code for my 2nd year 2D game.