Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   keydown2 (https://forums.graalonline.com/forums/showthread.php?t=134258953)

salesman 04-28-2010 05:34 PM

keydown2
 
If you're using keydown2() and something else takes focus (i.e. playerlist) while a key is down, then the key will still be considered down after it is released. It will remain "stuck" even after whatever stole focus is closed, and until you press the key again.

If you've ever been running on a server and press F7 to open a PM, and your character continues to run even though you're not pressing anything -- that's what I'm talking about. The reason I'm not using keydown(0-3) for movement is because the server I'm working on has it's own custom options where players can set controls for everything.

cbk1994 04-28-2010 10:20 PM

On Mac, keydown2 works fine but keydown doesn't :p.

Old_Days 04-29-2010 09:43 PM

I dont like macs :[

Pelikano 04-29-2010 10:00 PM

Quote:

Originally Posted by Old_Days (Post 1572950)
I dont like macs :[

Helps us a lot.


All times are GMT +2. The time now is 03:27 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.