Discuss using and improving Lua and the Lua Player specific to the PSP.
Moderators: Shine , Insert_witty_name
Koba
Posts: 59 Joined: Thu Sep 29, 2005 10:57 am
Post
by Koba » Thu Sep 29, 2005 1:01 pm
is there a way to make a PNG have transparent properties in LUA? my PNG's have transparent parts to them, but they aren't transparent when i put them in the program. so can anyone give me some code to make them have thier transparency?
Giuliano
Posts: 78 Joined: Tue Sep 13, 2005 10:26 am
Post
by Giuliano » Thu Sep 29, 2005 11:33 pm
when you blit the last parameter is wether you want the transparency to be transparent or not
Shine
Posts: 728 Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany
Post
by Shine » Fri Sep 30, 2005 12:44 am
Currently only full or no transparent pixels are supported. Will change when I have some more time.
Koba
Posts: 59 Joined: Thu Sep 29, 2005 10:57 am
Post
by Koba » Fri Sep 30, 2005 9:17 am
ok Shine, thanks for the help, i wish you luck in the next lua version and hope you successfully make gradient transparency possible!