![]() |
KeysRealeased
There is a function keyPressed(), but is there some sort of functinon of keyRealeased() ?
Or what is the closest function I can use? Sorry, I know it seems like a dumb question. I'm just trying to learn. |
There's no global event for when keys are being released. However, all GUI controls (including GraalControl) have an onKeyDown and an onKeyUp event, to be used like this:
PHP Code:
|
Quote:
|
Just give this a shot:
PHP Code:
|
Quote:
|
UGH
I am having a lot of trouble here. I am trying to make a double dash sorta thing. So when you double tap keydown(3) or (1) it goes into a different event. (Where I would set a different Ani and the player.x value would be higher.) |
| All times are GMT +2. The time now is 12:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.