TextureLoadingColorKey
Introduction
Code Example
bool ifUsingColorKey = true;
if (ifUsingColorKey)
{
// Set the color key to Magenta:
FlatRedBallServices.GraphicsOptions.TextureLoadingColorKey =
Microsoft.Xna.Framework.Graphics.Color.Magenta;
}
// Create a Sprite
SpriteManager.AddSprite("redballWithMagenta.bmp");ColorKey and Texture caching
Last updated
Was this helpful?

