Help With Alpha

Previous topic - Next topic

Charlie

Hi all. I am just learning GLBasic, and it appears to be a quite fun language to mess with.
But I'm trying to figure out how (or if I can) make this image appear correctly with alpha.

I've made a PNG image with a drop shadow effect. It Should look like the image below:
http://yfrog.com/jclogoxcp


But  with all alpha values I've tried I get this image inside of GLBasic.
http://yfrog.com/57logo1kp


The image has a transparent background with a drop shadow applied to the text.
Can I make the image appear how it's supposed to? Or is it not possible...

Thanks!

MrTAToad

Are you using an alpha value of around -0.5 ?

Charlie

Thanks. That value works pretty well, just a bit of color changing in the image.
My main issue was the placement of the alphamode command.
Had it at the top of my code, once I moved it directly above my drawsprite command it worked.
Knowing a value to use with it saved me a bit of time though :)