Ejemplo n.º 1
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     graphics.GraphicsDevice.Clear(Color.Black);
     // Draw the particles using additive blending. You can experiment with using different blend modes and
     // different particle textures.
     particleText.Draw(spriteBatch);
     spriteBatch.DrawString(font, mensaje, new Vector2(251, 400), Color.White, 0f, Vector2.Zero, 0.5f, 0, 0);
 }
Ejemplo n.º 2
0
        public override void Draw(GameTime gameTime)
        {
            SpriteBatch spriteBatch = ScreenManager.SpriteBatch;

            spriteBatch.Begin(0, BlendState.Additive);
            particleText.Draw(spriteBatch);
            spriteBatch.End();
            base.Draw(gameTime);
        }