[Update] Can anyone please tell me what's w rong with this code?

L-28C <leo28c gmail.com> writes:

Yay, it works! :smiley: But it makes the whole image transparent… I just
want the black background to get out, so must I change the 3rd param on
SDL_SetColorKey (255) to something that represents black? What is
black? Thanks very much!

I believe black is 0.

Here is a link I found on the web that lets you pick a color, and it gives you
the Decimal, hex, and html values for that color. Pretty slick if you ask me. :slight_smile:

http://www.psyclops.com/tools/rgb/

jim