Before I start coding to get some snow, rain, fog or whatever on the screen - has anyone done this before?
And what would you advise? Moving single raindrops or just make a single transparent 512*512 pic with rain/snow on it and scrolling it down?
skyd1v3r wrote:Before I start coding to get some snow, rain, fog or whatever on the screen - has anyone done this before?
And what would you advise? Moving single raindrops or just make a single transparent 512*512 pic with rain/snow on it and scrolling it down?
Moving single raindrops would probably be a heftilly bad idea. Now that we've got full transparency in 0.12 (tho' not out yet), I'd try having maybe three layers of rain/fog/whatever, and moving those layers at different speeds, downwards. It doesn't have to be 512x512, just tile a few 64x64 together.
For stuff like this it would be nice to have a particle system generator/renderer in LuaPlayer. It should easily be fast enough if done in C. Perhaps I'll add one sometime, depends on wether I want one for my game ;)
I found a useable rain script of that guy... eah... damn whats his name?
He made the nick editor (letters circleling around in 3d)... seems to be well know on the board here... damn, i will search him ... -_-