shading and making the sprites work