[squeakland] detect key pressed?

Nicco Kunzmann niccokunzmann at rambler.ru
Wed Jul 10 17:56:06 EDT 2013


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


More information about the squeakland mailing list