I'm using a simple 32x32 bmp (tried this with a png too).
I made a very simple image with 2 colors (0,0,0 and 255,0,255), a solid black disc with magenta filling the rest of the image.
my code looks like this
Whenever I use DrawImage() to put it on the screen, I get a nice magenta border around the ball.
I originally created the image in photoshop, but figured that I might not be able to save the image without it doing some sort of anti-aliasing, so.... I created a new image from scratch in MSPaint. So I'm pretty sure it's saving the image with only 2 colors.
Any ideas???
I made a very simple image with 2 colors (0,0,0 and 255,0,255), a solid black disc with magenta filling the rest of the image.
my code looks like this
ball = LoadImage("ball.bmp") MaskImage(ball,255,0,255)
Whenever I use DrawImage() to put it on the screen, I get a nice magenta border around the ball.
I originally created the image in photoshop, but figured that I might not be able to save the image without it doing some sort of anti-aliasing, so.... I created a new image from scratch in MSPaint. So I'm pretty sure it's saving the image with only 2 colors.
Any ideas???