Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: R4L on Fri 18/08/2006 02:03:14

Title: Car lights and overlays?
Post by: R4L on Fri 18/08/2006 02:03:14
Ok. What I have is a car. It will be driving through the night. I want it to be able to light up the road. I have considered using the flashlight plug-in but I don't think it would work well enough. So thats why I have considered overlays. Can it be done with overlays? Thanks.
Title: Re: Car lights and overlays?
Post by: Besh on Fri 18/08/2006 02:43:13
Yes, it should works.

In Duty and Beyond (Mordalles) there's an underwater section in which a submarine light up the scene but I don't know if he uses overlays or not.
Title: Re: Car lights and overlays?
Post by: jasonjkay on Tue 22/08/2006 12:40:28
He uses a black overlay with the section to be lit up drawn in the transparent colour. This should also be transparent, it makes everything but the section you drew dark.
Title: Re: Car lights and overlays?
Post by: R4L on Tue 22/08/2006 13:47:04
Thanks jkay, but wouldn't that make the game run rather slow? Mordalles used a smaller background then what I plan to use, so wouldn't that affect performance?