| View previous topic :: View next topic |
| Author |
Message |
Mr Billy
Joined: 26 Oct 2005 Posts: 10
|
Posted: Thu Nov 17, 2005 4:20 am Post subject: Alpha Blit |
|
|
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 |
|
 |
Durante
Joined: 02 Oct 2005 Posts: 65 Location: Austria
|
|
| Back to top |
|
 |
Mr Billy
Joined: 26 Oct 2005 Posts: 10
|
Posted: Sat Nov 19, 2005 12:07 pm Post subject: |
|
|
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 |
|
 |
Durante
Joined: 02 Oct 2005 Posts: 65 Location: Austria
|
Posted: Sun Nov 20, 2005 2:40 pm Post subject: |
|
|
| 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 |
|
 |
|