forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rain, snow, fog?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
skyd1v3r



Joined: 24 Oct 2005
Posts: 5

PostPosted: Mon Oct 24, 2005 4:56 pm    Post subject: Rain, snow, fog? Reply with quote

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?
Back to top
View user's profile Send private message
nevyn



Joined: 31 Jul 2005
Posts: 136
Location: Sweden

PostPosted: Mon Oct 24, 2005 6:37 pm    Post subject: Re: Rain, snow, fog? Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Durante



Joined: 02 Oct 2005
Posts: 65
Location: Austria

PostPosted: Mon Oct 24, 2005 11:15 pm    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
DiabloTerrorGF



Joined: 15 Jul 2005
Posts: 64

PostPosted: Thu Oct 27, 2005 12:33 pm    Post subject: Reply with quote

That would be great... and yeah don't try to draw them individually. I tried making sakura petals fall and it lags bad(although it may be my code).
Back to top
View user's profile Send private message
skyd1v3r



Joined: 24 Oct 2005
Posts: 5

PostPosted: Thu Oct 27, 2005 12:43 pm    Post subject: Reply with quote

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 ... -_-
Back to top
View user's profile Send private message
link



Joined: 19 Oct 2005
Posts: 61

PostPosted: Thu Oct 27, 2005 12:47 pm    Post subject: Reply with quote

lumo?
Back to top
View user's profile Send private message
skyd1v3r



Joined: 24 Oct 2005
Posts: 5

PostPosted: Thu Oct 27, 2005 12:50 pm    Post subject: Reply with quote

link wrote:
lumo?


Yeah.
Found the script.
http://lumo2000.lu.funpic.de/rain_by_lumo.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group