| View previous topic :: View next topic |
| Author |
Message |
Koba
Joined: 29 Sep 2005 Posts: 59
|
Posted: Thu Sep 29, 2005 1:01 pm Post subject: Transparent PNG |
|
|
| 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? |
|
| Back to top |
|
 |
Giuliano
Joined: 13 Sep 2005 Posts: 78
|
Posted: Thu Sep 29, 2005 11:33 pm Post subject: |
|
|
| when you blit the last parameter is wether you want the transparency to be transparent or not |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Fri Sep 30, 2005 12:44 am Post subject: Re: Transparent PNG |
|
|
| Currently only full or no transparent pixels are supported. Will change when I have some more time. |
|
| Back to top |
|
 |
Koba
Joined: 29 Sep 2005 Posts: 59
|
Posted: Fri Sep 30, 2005 9:17 am Post subject: |
|
|
| ok Shine, thanks for the help, i wish you luck in the next lua version and hope you successfully make gradient transparency possible! |
|
| Back to top |
|
 |
|