Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Amir on Sat 02/07/2022 17:11:50

Title: Ctrl and Alt keys make Esc key inactive
Post by: Amir on Sat 02/07/2022 17:11:50
Hi,

I have a weird problem with the keys. Esc key should make the menu visible.
But when I press ctrl or alt then the esc key doesn't work that the menu pops up. I mean, you press ctrl, then esc, nothing happens. If you press any key of a letter then esc again, the menu reappears. As if crtl and alt would make the esc key inactive. Does anyone have any idea why this is happening? Debug mode is false.
Title: Re: Ctrl and Alt key makes Esc key inactive
Post by: Amir on Sat 02/07/2022 18:41:47
At the beginning of the game I have StartCutscene(eSkipESCOnly); if you press ctrl or alt beforehand, esc key no longer works either  :-\
Like I said ctrl and alt make esc inactive.
Title: Re: Ctrl and Alt key makes Esc key inactive
Post by: Amir on Sat 02/07/2022 19:04:46
Ok, now I'm sure the problem is with AGS. I created a new game. Esc works at the beginning. As soon as you press ctrl or alt, esc no longer works. You have to press any letter key to activate Esc  :(
Title: Re: Ctrl and Alt key makes Esc key inactive
Post by: Crimson Wizard on Sat 02/07/2022 19:05:54
Quote from: Amir on Sat 02/07/2022 19:04:46
Ok, now I'm sure the problem is with AGS. I created a new game. Esc works at the beginning. As soon as you press ctrl or alt, esc no longer works. You have to press any letter key to activate Esc  :(

Please tell, which version of AGS are you using? I recall there have been similar problem few years ago, but I thought it was fixed eventually.
Title: Re: Ctrl and Alt key makes Esc key inactive
Post by: Amir on Sat 02/07/2022 19:28:19
Quote from: Crimson Wizard on Sat 02/07/2022 19:05:54
Quote from: Amir on Sat 02/07/2022 19:04:46
Ok, now I'm sure the problem is with AGS. I created a new game. Esc works at the beginning. As soon as you press ctrl or alt, esc no longer works. You have to press any letter key to activate Esc  :(

Please tell, which version of AGS are you using? I recall there have been similar problem few years ago, but I thought it was fixed eventually.

Build 3.5.1.18
Title: Re: Ctrl and Alt keys make Esc key inactive
Post by: glurex on Sun 03/07/2022 23:27:33
I have the same problem with AGS 3.5.1.15
Title: Re: Ctrl and Alt keys make Esc key inactive
Post by: Postmodern Adventures on Mon 04/07/2022 10:01:38
Same here with  3.5.1.11.
Title: Re: Ctrl and Alt keys make Esc key inactive
Post by: Crimson Wizard on Mon 04/07/2022 13:17:45
Please tell, which operating system you are running on? This was a known issue in the earlier versions of AGS, but I cannot reproduce this with AGS 3.5.1 nor 3.5.0 anymore, thus I was under impression that this was fixed.

Do you have this problem with 3.6.0 Beta?
Title: Re: Ctrl and Alt keys make Esc key inactive
Post by: newwaveburritos on Mon 04/07/2022 17:34:08
I'm using Build 3.6.0.23 on Windows 10 and I can't seem to make ESC stop working with control or alt.  I put in some additional code to the on_key_press and it seems to work just fine for me if that helps.