I have started to use SDL and i am in need of some help.
I want to use alpha mask in my game.
ColorKey is not good enough because i want half transparent edges on my static sprites(houses, rocks etc.)
I do not now how to do this and i was looking on net and did not find anything useful
I have started to use SDL and i am in need of some help.
I want to use alpha mask in my game.
ColorKey is not good enough because i want half transparent edges on my static sprites(houses, rocks etc.)
I do not now how to do this and i was looking on net and did not find anything useful
Save your images as PNG files with an alpha channel, and load them with
the SDL_image library (available on the libraries page on the SDL website)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment