Okay, so I'm running into a problem.
I'm trying to make the pink around this sprite (a png file) transparent:
http://imgur.com/5FIo8n5
However, my code doesn't seem to work.
This is what happens when you run my code:
http://imgur.com/T6NFbX4
Here's my code:
enemy1 = loadimage ("sprites/empire.png")
SetImageTransparentColor( enemy1, 255, 0, 255 )
createsprite (1, enemy1)
do
setspriteposition(1,0,0)
Sync()
loop
I've removed the irrelevant bits for your viewing pleasure (or at least to the best of my ability, I'm kinda impatient).
I'm kinda stuck, so if anybody knows lemme know. Kinda wish there was a code example on this for reference.
This is a family-rated forum, your sig has been removed