public void Draw(SpriteBatch spriteBatch, Camera camera) { Color color = new Color(fade, fade, fade, fade); float scale = camera.getTextureScale(_smoke.Width, size); spriteBatch.Draw(_smoke, camera.getVisualCoords(position, _smoke.Width, _smoke.Height, scale), null, color, rotation, randomDirection, scale, SpriteEffects.None, 0.1f); }
public void Draw(SpriteBatch spriteBatch, Camera camera) { float scale = camera.getTextureScale(_splitterTexture.Width, particleSize); spriteBatch.Draw(_splitterTexture, camera.getVisualCoords(position, _splitterTexture.Width, _splitterTexture.Height, scale), null, Color.White, 0, randomDirection, scale, SpriteEffects.None, 0.5f); }