Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Razorback on Wed 01/03/2006 15:01:07

Title: How to make characters completely black (SOLVED)
Post by: Razorback on Wed 01/03/2006 15:01:07
How come when I make a region with a light level of 0% the character doesn't turn out black?

My game has this room that is very dark and has a small light source. I want to achieve a silhouette type effect on my character, so I need him to be completly black. But if I set the region Light Level to 0% the character only gets slightly darker.

My game uses 32bit color and a 640x480 resolution. Can anyone help me with this?

Thanks.
Title: Re: Light Levels. How to make my character completely black.
Post by: Privateer Puddin' on Wed 01/03/2006 16:36:28
Tint him black (0,0,0) and 100% with the colour tint option perhaps?

edit: That doesn't seem to work either, 0,0,0 seems to make him white, 255 makes him grey. Oh well.

Might have to just make a silhouette version of him and change the characters view when you need it.
Title: Re: Light Levels. How to make my character completely black.
Post by: Razorback on Wed 01/03/2006 19:06:36
Quote from: Privateer Puddin' on Wed 01/03/2006 16:36:28
Might have to just make a silhouette version of him and change the characters view when you need it.

That's what I was afraid of.  :'(
Title: Re: Light Levels. How to make my character completely black.
Post by: bullfrog on Wed 01/03/2006 19:24:00

cEgo.Tint(0, 0, 0, 100, 0);

Title: Re: Light Levels. How to make my character completely black.
Post by: Razorback on Wed 01/03/2006 19:54:30
WOW THANKS!!

How can I ever repay you?
Me love you long time?