semi transparent - sdl

Last edited on
You could create an image that have transparency and then load and use it like any other image.

Another way is to set an alpha value on the whole image inside the code.

SDL 1.2
http://sdl.beuc.net/sdl.wiki/SDL_SetAlpha

SDL 2
https://wiki.libsdl.org/SDL_SetSurfaceAlphaMod
https://wiki.libsdl.org/SDL_SetTextureAlphaMod
Topic archived. No new replies allowed.