Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 26/05/2005 21:39:14

Title: Flashlight-plugin problem
Post by: on Thu 26/05/2005 21:39:14
I cant get the Flashlight plugin to work (using AGS 2.55).

I put this in the room script:

function room_a() {
  // script for room: Player enters screen (before fadein)
  SetFlashlightDarkness (20);
  SetFlashlightBrightness (GetFlashlightMaxLightLevel ());
  SetFlashlightDarknessSize (50);
  SetFlashlightBrightnessSize (10);
  SetFlashlightFollowCharacter (GetPlayerCharacter (), 0, -20, 20, 10);
}
....but nothing happends.
:'(
Title: Re: Flashlight-plugin problem
Post by: Scummbuddy on Fri 27/05/2005 05:35:42
Are you sure its supposed to work with an AGS version thats before 2.62? I seem to remember some plugins dont work with versions before a certain release number. It very well could include yours, I'm just checking. Did you read any accompanying Read Me/Help file with it?

Did you put the downloaded pieces in their correct location in the games folder, where ever it may be?
Title: Re: Flashlight-plugin problem
Post by: Gilbert on Fri 27/05/2005 07:41:01
Also, what colour depth is your game at?
I guess this plugin probably won't work if you're making a 256 colour game.
Title: Re: Flashlight-plugin problem
Post by: Sektor 13 on Fri 27/05/2005 14:56:37
I can't get it to work too, and i am using 2.62 - 32 bit..... Nothing works  !
Title: Re: Flashlight-plugin problem
Post by: Scorpiorus on Sat 28/05/2005 12:39:47
As far as I remember, there was no 32bit mode support in AGS at the time the plugin was released. Therefore it only works in 16/15bit modes. If you have a different mode set up (256col/32bit) then nothing happens - that's how it works, if memory serves me right.