alpha blending - ? & info for newbies

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
dbeyer3069
Posts: 81
Joined: Mon Dec 19, 2005 4:09 pm

alpha blending - ? & info for newbies

Post by dbeyer3069 »

I have posted some notes on how I got alpha blending working with PNG images (background and moving image) in the Development Forum if anyone needs more help.

As I used the graphics.c library (the same as LUA player), I am still confused about one thing:

I got alpha blending (transparency) to work when blitting image to image but blitting image to screen still doesn't work for me:

blitalphaimagetoimage() WORKS (transparent color is dropped).

blitalphaimagetoscreen() DOESN'T (displays fully transparent image)

I've spent too much time on it and will use the image to image as a work-around but wonder if there's a bug in the code? (seems I've seen this mentioned someplace else before).

Any ideas?

David Beyer
Post Reply