Transparent PNG

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

Moderators: Shine, Insert_witty_name

Post Reply
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

Transparent PNG

Post by Koba »

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 »

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

Re: Transparent PNG

Post by Shine »

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 »

ok Shine, thanks for the help, i wish you luck in the next lua version and hope you successfully make gradient transparency possible!
Post Reply