A bit rusty!

Previous topic - Next topic


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

Speccy-48k, Speccy-128k, Amigas, PCs


Seems right to me...

Do you use the Steam-Version?
Whats the results from Key(), do you debug the outcome?
I <3 DGArray's :D

AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard


Found and solved a little while ago - Local variables I used were case sensitive - I didn't cop that!
All good once again!
Speccy-48k, Speccy-128k, Amigas, PCs