Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / need help again??

Author
Message
razorblade
21
Years of Service
User Offline
Joined: 10th Feb 2003
Location:
Posted: 8th Mar 2004 21:51 Edited at: 8th Mar 2004 22:22
hi again i would like to know how to make sudden flashs like lightning appear on my screen randomly and a rain effect.


oh and im using dbc
thx

mooba!
Lord Helmet
21
Years of Service
User Offline
Joined: 30th May 2003
Location:
Posted: 8th Mar 2004 23:34
Flashes of lightning are best done by temporarly raising the light levels, see the Basic 3d or 3d lighting commands to see what there is. Rain can be particles, again see command help.
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 8th Mar 2004 23:47
There was a pretty good rain discussion in the DBP section. While it might not apply to DBC directly, a lot of the ideas should be usable.
--
TAZ

Tim Ballisto
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 9th Mar 2004 01:40
try this

if rnd(10)=0
for c=0 to 255 step 20
cls rgb(0,0,c)
if fog available()=1 then fog distance (c*5) : fog color (256*256*c)
sync
next c
endif


the higher you set the rnd() the less often the lightning flashes

Login to post a reply

Server time is: 2024-09-22 00:39:18
Your offset time is: 2024-09-22 00:39:18