i use lua player v0.16 with 1.5 PSP firmware.
when i do a screen:fillRect(0, 0, 100, 100, Color.new(0, 255, 0, 128)), the screen is fill with a green, but the alpha value isn't correct (full alpha).
but when i do a fillRect with half alpha on an image, and i blit to screen, here the result is good.
why screen:fillRect() with non full alpha doesn't work ?
thank for your help and sorry for my english.
++
screen:fillRect() does not work with alpha value on v0.16
Moderators: Shine, Insert_witty_name
Re: screen:fillRect() does not work with alpha value on v0.1
The screen doesn't support alpha, only images, because Lua Player uses only the source for alpha blitting. And alpha values are integers from 0 to 255. But you can use the 3D functions for setting the alpha blitting mode yourself.Mrdjack wrote:why screen:fillRect() with non full alpha doesn't work ?