forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

alpha blending - ? & info for newbies

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
dbeyer3069



Joined: 19 Dec 2005
Posts: 81

PostPosted: Fri Dec 23, 2005 6:17 am    Post subject: alpha blending - ? & info for newbies Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group