Input/GUI Scrpit Works Improperly In 3.1

Started by Yuko Ichihara, Fri 28/11/2008 23:04:22

Previous topic - Next topic

Yuko Ichihara

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.
"Normal? What's normal? To only do what the masses do? And what is the benefit of that? Where is the problem in adopting a custom that is 'abnormal' if it has no negative effect on the world at large?" - Yuko Ichihara

RickJ

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?

Pumaman

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.

SMF spam blocked by CleanTalk