[Newbies] Stepping of ImageMorph
K. K. Subramaniam
subbukk at gmail.com
Fri Jan 15 15:38:25 UTC 2010
On Thursday 14 January 2010 08:41:05 am Hans Gruber wrote:
> An new question von my side again, because I'm quite new in working with
> Squeak.
If you are new to Squeak, you may want to start with Etoys and create programs
(scripts) visually.
> I wanted to animate an ImageMorph in my project. Therefore I figured out to
> overwrite the Morphs step method and set the stepTime. But that was not I
> was really looking for. I want to achieve that the ImageMorph switches
> between several images regarding to the current key which pressed (key
> event handling is already implemented in my project).
You could use the typed character as a key into a dictionary of images.
HTH .. Subbu
More information about the Beginners
mailing list