One thing that really disappoints me about luaplayer is drawing transparancy. When I do fillrect with a color that has the a(lpha) set to 125 it just blits an opaque rectangle, although I want a 50% transparant rectangle. One solution is using a 50% transparant png image. But this is of course a waste of memory and you need a seperate image for every transparancy value and color. Why doesn't this work? Am I doing something wrong?
Also, it was promised that you could handle the screen image as any other image since v0.20. So it should be possible to blit what's on the screen to another image using
OtherImg:blit(0,0,screen)
When I do this, Only the results of all print, screen:print and screen:fontPrint functioms are blitted to OtherImg. Anyone knows how to do do any of these properly?
fillrect transparancy and screen as image
Moderators: Shine, Insert_witty_name
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands
fillrect transparancy and screen as image
Behold! The Underminer got hold of a PSP
-
- Posts: 123
- Joined: Mon Oct 03, 2005 4:25 am
- Location: Netherlands