Sign in to follow this  
amr eshra

problem in adding texture2d in XNA !!!

Recommended Posts

You could set the colour key property to white in the content processor properties for that image and set colour key enabled to true.

I haven't tried this myself so their might be another step in the code to actually get it working.

Else you could set the alpha in an art package like photoshop then call spriteBatch.Begin(SpriteBlendMode.AlphaBlend).

HTH.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this