detect key pressed?
Nicco Kunzmann <[email protected]> Wed, 10 Jul 2013 23:56:06 +0200
| Newsgroups | gmane.comp.lang.smalltalk.squeak.squeakland |
|---|---|
| Message-ID | <[email protected]> |
Dear All,
when developing games with eToys it is important to know whether a key
is pressed or released.
This way multiple actions can be controlled at the same time. Something
like:
if (key pressed? <up>)
if (key pressed? <w>)
However I only found "last keystroke".
Is there something built in?
or: Do I need to develop this myself?
or: Do sources exist that add this behaviour?
I found this: http://wiki.squeak.org/squeak/488 and I downloaded eToys 5
from the website.
But I can not get it to run.
Greetings,
Nicco