[squeakland] detect key pressed?
curiouslee at gmail.com
Wed Jul 10 22:46:31 EDT 2013
Steve kindly demonstrated the use of the Key Press Morph on a Google
Hangout. Watch the first part of this video:
On Wed, Jul 10, 2013 at 9:53 PM, Steve Thomas <sthomas1 at gosargon.com> wrote:
> In the "Object Catalog" under "Just for Fun" you will find a "Key Press"
> morph. This should meet your needs.
> What exactly is the error you are getting when trying to run Etoys 5? ,
> What OS are you using?
> On Wed, Jul 10, 2013 at 5:56 PM, Nicco Kunzmann <niccokunzmann at rambler.ru>wrote:
>> 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
>> 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.
>> squeakland mailing list
>> squeakland at squeakland.org
> To some of us, writing computer programs is a fascinating game. A program
> is a building of thought. It is costless to build, weightless, growing
> easily under our typing hands. If we get carried away, its size and
> complexity will grow out of control, confusing even the one who created it.
> This is the main problem of programming. It is why so much of today's
> software tends to crash, fail, screw up.
> When a program works, it is beautiful. The art of programming is the skill
> of controlling complexity. The great program is subdued, made simple in its
> squeakland mailing list
> squeakland at squeakland.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squeakland