' keydown.bmx
' the following code draws a circle if the
' program detects the spacebar is pressed
' and exits when it detects the ESCAPE key has
' been pressed
Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
Cls
If KeyDown(MODIFIER_CONTROL) DrawOval 0,0,640,480
Flip
Wend
This code should work, right? For some reason it doesn't seem to.. What am I doing wrong? This is in bmax 1.12 on OS X 10.4.3
(grumbles about general bmax dysfunctionality)
' the following code draws a circle if the
' program detects the spacebar is pressed
' and exits when it detects the ESCAPE key has
' been pressed
Graphics 640,480
While Not KeyHit(KEY_ESCAPE)
Cls
If KeyDown(MODIFIER_CONTROL) DrawOval 0,0,640,480
Flip
Wend
This code should work, right? For some reason it doesn't seem to.. What am I doing wrong? This is in bmax 1.12 on OS X 10.4.3
(grumbles about general bmax dysfunctionality)