Hi. I'm new to Blitz Max, moving up from Blitz3D.
I was fiddling with some of the animation commands but I am encountering a lot of difficulty with getting the alpha to display properly. The alpha layer seems to just appear white despite that the png file has a transparency layer in it. What am I missing, any help would be greatly appreciated.
Here is the relevant code:
Notes: Backdrop and Player are both custom types with Image as a simple TImage type storing the image files...
I was fiddling with some of the animation commands but I am encountering a lot of difficulty with getting the alpha to display properly. The alpha layer seems to just appear white despite that the png file has a transparency layer in it. What am I missing, any help would be greatly appreciated.
Here is the relevant code:
Notes: Backdrop and Player are both custom types with Image as a simple TImage type storing the image files...
........ ........ ........ 'Setup Backdrop AZTEC_NIGHT:Backdrop = New Backdrop AZTEC_NIGHT.Image = LoadImage("media/AztecNight.jpg") 'Setup Player USER:Player = New Player USER.Position = 400 USER.Image = LoadAnimImage("media/DragonAttack.png", 128, 128, 0, 6) End Function Function DrawAll() 'Draw Backdrop 'SetBlend SOLIDBLEND DrawImage(AZTEC_NIGHT.Image, 0, 0) 'Draw Player SetBlend(ALPHABLEND) DrawImage(USER.Image, USER.Position-64, 600-128) End Function