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.

DarkBASIC Discussion / Night vision

Author
Message
bobbyd
15
Years of Service
User Offline
Joined: 17th Jan 2009
Location:
Posted: 24th Oct 2009 19:18
I wanted to make a maze game and wanted parts of the maze to be dark so you would have to use night vision goggles to see around but i dont know how i would do this

does anyone know how
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 24th Oct 2009 21:56 Edited at: 24th Oct 2009 21:57
Without the goggles:

Set Gamma 10,10,10

With the goggles:

Set Gamma 0,200,0

Back to normal light:

Set Gamma 255,255,255

Not tested the first two, so experiment with the values. Might suit your purposes...

TDK

Login to post a reply

Server time is: 2024-05-09 16:01:13
Your offset time is: 2024-05-09 16:01:13