/// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.Black); //Main draw method. All drawing that is not part of the scoreboard goes here spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, SamplerState.LinearClamp, DepthStencilState.None, RasterizerState.CullNone, null, pos); currentWorld.draw(gameTime, spriteBatch); spriteBatch.Draw(mario, marioPos, Color.White); spriteBatch.End(); //Will be used for scoreboard area. spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend); print(); spriteBatch.End(); base.Draw(gameTime); }