1
votes

how to draw sprite without background. For example display this:

enter image description here

without green background.

I'm using XNA 4.0.

I don't want to edit all textures :/

Thanks ;)

SOLUTION !
http://i.imgur.com/k6ufNYU.jpg
Image Properties -> Content Processor -> Color Key Color - it's a colow which we will remove.

1
Welcome to Stack Overflow. What have you tried so far? Have you done any research? Let us know more. Also consider the Stack Overflow Help for how to ask really neat questionsMicky

1 Answers

0
votes

You need to save it as a .PNG From .net Paint and remove the alpha, so that when you import it it is blank.

you can find .Net paint here