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 Blit

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



Joined: 26 Oct 2005
Posts: 10

PostPosted: Thu Nov 17, 2005 4:20 am    Post subject: Alpha Blit Reply with quote

is there a way to blit using alphatransparency. i mean if i had a fully opaque image and i wanted to blit it at 50% transparency. is this possible without making a function to redraw the image pixel by pixel?
_________________
"There is no spoone"
-The Matricks
Back to top
View user's profile Send private message
Durante



Joined: 02 Oct 2005
Posts: 65
Location: Austria

PostPosted: Thu Nov 17, 2005 6:23 am    Post subject: Reply with quote

http://forums.ps2dev.org/viewtopic.php?t=3583
Back to top
View user's profile Send private message
Mr Billy



Joined: 26 Oct 2005
Posts: 10

PostPosted: Sat Nov 19, 2005 12:07 pm    Post subject: Reply with quote

thanks for the reply

i read that topic, but i still really dont understand how this is done. i have a 100% opaque image and i want to blit it at a % transparency. i would make the png transparent to begin with, but i want the transparency to change frequently throughout my program.
_________________
"There is no spoone"
-The Matricks
Back to top
View user's profile Send private message
Durante



Joined: 02 Oct 2005
Posts: 65
Location: Austria

PostPosted: Sun Nov 20, 2005 2:40 pm    Post subject: Reply with quote

That's another question entirely. My version of Luaplayer (used in Crystalise) does this by providing a screen.setTint(color) method. In normal luaplayer this is not currently possible, except if you use the 3D API.
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