color mask with alpha
Posted: Wed Aug 26, 2009 9:19 pm
Hello, i've just discovered Löve today... and it really looks amazing
I'm quite familiar with scripting languages but it's my first attempt on Lua. I've checked some examples and tutorials but i haven't found (yet?) a way to simulate a fake 3d fog effect.
So, i have a sprite, which is a tree over an empty plain. I can scale it down to make it look far but i want to cover it step by step with light cyan also.
I don't know if i can use the same png image as a light cyan mask and display it with alpha, or is there a better way to do this with Löve ?
Thanks for help.
I'm quite familiar with scripting languages but it's my first attempt on Lua. I've checked some examples and tutorials but i haven't found (yet?) a way to simulate a fake 3d fog effect.
So, i have a sprite, which is a tree over an empty plain. I can scale it down to make it look far but i want to cover it step by step with light cyan also.
I don't know if i can use the same png image as a light cyan mask and display it with alpha, or is there a better way to do this with Löve ?
Thanks for help.