Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Arjunaz78 on Fri 07/10/2011 07:51:24

Title: Dark Room To Bright Room [SOLVED]
Post by: Arjunaz78 on Fri 07/10/2011 07:51:24
I want to create a dark room effect and when the character switch on the light,it will bright the room otherwise when character switch off the light the room become dark or black screen effect..how can i make it?

i weak on scripting..i hope you all can guide me through it.

THX.
Title: Re: Dark Room To Bright Room
Post by: Khris on Fri 07/10/2011 09:17:16
This has been asked many times before, please try the forum search.

In general, you can either
-use a semi-transparent black or blueish non-clickable GUI
-change background frames and object sprites
-use TintScreen(?)

A fourth option would be to create a 256 color game and change the palette directly.
Title: Re: Dark Room To Bright Room
Post by: Arjunaz78 on Thu 13/10/2011 20:19:21
So that's mean it's only works on 256 color game display only,right?
Title: Re: Dark Room To Bright Room
Post by: Khris on Thu 13/10/2011 20:47:32
The first three methods should work with any color depth.
Title: Re: Dark Room To Bright Room
Post by: Arjunaz78 on Thu 13/10/2011 21:46:53
Oh..sorry mate,i didn't notice it's a 4th option  :P

besides,it's already works now..

THX.