alice-teacher another question

Patricia Campbell triciamontreal at gmail.com
Thu Nov 10 15:19:06 EST 2011


You could use a global/world variable to keep a count of the number of
presses.

On Thu, Nov 10, 2011 at 10:59 AM, Emily Higgins <erphiggins at gmail.com>wrote:

> Hi All -
> Is it possible to have two different actions associated with one event?
>  My student wants the penguin to take one step with each pressing of the up
> arrow key.  In other words, the penguin would roll left with the first
> press, roll right with the second press.
>
> Thank you again for all your help.
> Emily Higgins
> Boothbay Harbor, Maine
>
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
>
>


-- 
___..___........__.......__
...|....|__/....|...|......|...|__|
...|....|.....\...|...|__..|...|....|

"You must be the change you wish to see in the world." Mohandas K Gandhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20111110/746297e6/attachment.html 


More information about the alice-teachers mailing list