Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Yuko Ichihara on Fri 28/11/2008 23:04:22

Title: Input/GUI Scrpit Works Improperly In 3.1
Post by: Yuko Ichihara on Fri 28/11/2008 23:04:22
My game has a text box in it which is constantly active (well except when the menu is open, game paused...etc) and the player can press esc or F1-F12 to perform various game play commands such as save, restore, sound on/off.

If you've played any of the older parser Sierra games (Space Quest 1-2, Kings Quest 1-3) you'll realize what my game is trying to be like.

Anyways my problem is that when I changed over to 3.1 and tried running my game instead of the F1-F12 keys sending to the scripts like before when pressed they now place a letter (eg, j) in the textbox on the screen. The esc key is the only one the works...oh and  Ctrl-Q to quit still works to.

Any ideas on why this happened or how to fix it woluld be appreciated, thx.

If more info is needed simply ask and I will post it.

P.S. - Sorry If this is a Technical Forum related question.
Title: Re: Input/GUI Scrpit Works Improperly In 3.1
Post by: RickJ on Sat 29/11/2008 21:51:14
Perhaps  the problem is due to the conversion process rather than version 3.x?  I would check the on_key_press() event handler function to make sure the specific function keys are actually being decoded there?
Title: Re: Input/GUI Scrpit Works Improperly In 3.1
Post by: Pumaman on Tue 02/12/2008 18:30:52
This is a known bug in AGS 3.1, which will be fixed in the next release. The fix is included in the 3.1.1 RC 1 release availabl ein the Technical FOrum.