Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Tue 13/05/2003 15:41:22

Title: Flash light effect
Post by: on Tue 13/05/2003 15:41:22
I want my character to hold up a flash light when a key is pressed,that part isn't the proublem,i want to have it so that a small area of the backround will be lit up brighter than the rest of the area+if you run into a box the player will be able to stop and say something like"I better check the box".Can any one help me?
Title: Re:Flash light effect
Post by: Ishmael on Tue 13/05/2003 16:07:14
um.... what are you trying to do here..?  ???
Title: Re:Flash light effect
Post by: AJA on Tue 13/05/2003 16:17:37
check a-v-o's flashlight plugin at the plugins page (goto agsforums.com -> download -> plugins (if I remember correctly)). That should be easy enough to use... :)

Quote+if you run into a box the player will be able to stop and say something like"I better check the box".Can any one help me?

This one needs to be cleared a bit for me...
Title: Re:Flash light effect
Post by: miguel on Tue 13/05/2003 16:20:20
draw a region next to the box and when ROGER "steps onto it", make it display message "I better check that box"

hope it helps
Title: Re:Flash light effect
Post by: on Tue 13/05/2003 17:10:25
If You ever played alone in the dark,you could turn your flashlight on and shine the light on to a monster and the monster would get hurt,insted of a monster if I could have a box and when you shine the light on to the box Roger could say somthing?
Title: Re:Flash light effect
Post by: miguel on Wed 14/05/2003 00:33:44
My guess is this, it is possible and when you manage to script the light coming from the flashlight, you´ll only have to set some x,y positions, but then, I dont know how to do it. I bet I only made you more confused
Title: Re:Flash light effect
Post by: Scorpiorus on Wed 14/05/2003 12:15:49
Well, if you suppose to use flashlight plugin all you need is to check out whether the centre of flashlight circle have been directed right on the box. Then show a message.

-Cheers
Title: Re:Flash light effect
Post by: miguel on Wed 14/05/2003 17:12:35
that´s what I tought