Arrow Keys to control movement of a Morph
Karl Ramberg
karl.ramberg at chello.se
Sun Jul 4 06:40:52 UTC 2004
I think Squeak central is working on better soulution, but this is quite good.
Karl
Milan Zimmermann wrote:
>
> Hello,
>
> For a simple game I'd like to use up/down/left/right keys to control movement
> of a Morph, preferably in eToys (did not find it though). I tried to find
> any code that would help me, but no luck. Would someone have a suggestion on
> how to do something like this: Make Morph listen to the Up/Down/Left/Righ
> arrow movements (and change it's direction of movement based on that)
>
> Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Keyboard_Demo-sw.1..cs.gz
Type: application/octet-stream
Size: 3807 bytes
Desc: Unknown Document
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040704/6f5305ad/Keyboard_Demo-sw.1..cs.obj
More information about the Squeak-dev
mailing list
|