room lighting

Started by Ethan D, Sat 16/05/2009 19:34:56

Previous topic - Next topic

Ethan D

Im trying to make it look like the power has cut off so everything is darker.  I know how to make the characters darker but I dont know how to make the rooms darker short of making 15 new rooms which would take up way to much space.  Is there any way I can just make the entire room several shades darker.

NsMn

There are three possibilities:

1. Using the flashlight plugin (which I wouldn't suggest to use as a beginner)

2. Tinting the Screen black using TintScreen();  (look in the manual)

3. Change the Background image (manual)

Ethan D

Tint screen changes it to just one color and I need it darker because the player will be exploring around the area while its darker.  Ill check out the flashlight plugin though.

Ethan D

Nevermind, I used tintscreen with 1 in each of the categories and it worked beautifully. Thanks for the help.

Khris

You can also use a black, non-clickable GUI as big as the screen with a transparency setting of 30-70.

Ethan D

Ill try that to. Thanks again

Trent R

#6
The Flashlight Plugin was Modularized a long time ago by monkey_05_06. Also, it includes a manual that is very easy to understand.

And Khris's suggestion would most likely work the best, in addition to being the simplest.

~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Ghost

The benefit of Khris' method would be that you can fade the light on/off by simple increasing and decreasing the transparency of the GUI, which would look a good deal neater than just flipping from black to room pic.

SMF spam blocked by CleanTalk