Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Problems with Audio Files

$
0
0
I guess I'm a bit confused in a way.

If the key is pressed and the key is space or 1, then it jumps to the other function, right?

Within that function, why can't it check for a new key press? I now see that it can't. I just don't understand why I can't tell it to check for a new one. Unless it has to do with always checking in the draw function, in which case, I'm not sure how progression could even happen. I assumed that because the draw function is called so frequently, that I would break out of draw, then I'd be able to check for other key presses. Perhaps I'm overcomplicating this.

Viewing all articles
Browse latest Browse all 1768

Trending Articles