public override void Draw(GameTime gameTime) { Sprites.Begin(0, null, null, null, null, null, Camera.View); _webOfGoo.Draw(Sprites); Sprites.End(); base.Draw(gameTime); }
public override void Draw(GameTime gameTime) { Sprites.Begin(0, null, null, null, null, null, Camera.View); _webOfGoo.Draw(Sprites); Sprites.End(); _border.Draw(Camera.SimProjection, Camera.SimView); base.Draw(gameTime); }
public override void Draw(GameTime gameTime) { BatchEffect.View = Camera.View; BatchEffect.Projection = Camera.Projection; SpriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, RasterizerState.CullNone, BatchEffect); _webOfGoo.Draw(SpriteBatch); SpriteBatch.End(); _border.Draw(Camera.Projection, Camera.View); base.Draw(gameTime); }