GLBasic forum

Main forum => GLBasic - en => Topic started by: MrPlow on 2019-Jul-05

Title: A bit rusty!
Post by: MrPlow on 2019-Jul-05
Hi Guys

I am having problems getting shift+wasd keys working to detect if shift was depressed...It must be something painfully simple that i am doing wrong....

my code looks like so

keyLeft =key(30)
keyshift = key(42)

if keyleft and keyshift then do something

Title: Re: A bit rusty!
Post by: Schranz0r on 2019-Jul-05
Seems right to me...

Do you use the Steam-Version?
Whats the results from Key(), do you debug the outcome?
Title: Re: A bit rusty!
Post by: MrPlow on 2019-Jul-05
Found and solved a little while ago - Local variables I used were case sensitive - I didn't cop that!
All good once again!