Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / GetRawKeyPressed, GetRawKeyState + While/EndWhile will not work :-(

Author
Message
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 4th Nov 2015 08:13
I have tried using:

Repeat
Until GetRawKeyPressed(32) = 1
Repeat
Until GetRawKeyReleased(32) = 1

And:

While GetRawKeyState(32) = 0
EndWhile
While GetRawKeyState(32) = 1
EndWhile

But my app is just stuck, it does not continue when I press space. The first part, the one with Repeat lets me advance once but is stuck the next time the program cursor hits that part. I am puzzled :-P I want to pause my app the read some output then advance one loop.
The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 4th Nov 2015 11:53
Try...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 13th Nov 2015 12:47
Thank you I will try that next time
The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...

Login to post a reply

Server time is: 2024-11-23 22:13:52
Your offset time is: 2024-11-23 22:13:52