[Newbies] Re: Is there an easy way to implement an animation loop?
Sean P. DeNigris
sean at clipperadams.com
Thu Jan 5 19:39:12 UTC 2012
Karl Ramberg wrote
>
> use the step method.
>
Yes, and if you had to communicate with Morphic from another process, use
#addDeferredUIMessage:
"m := Morph new openInWorld."
m center: 100 at 100.
[ 100 timesRepeat: [
WorldState addDeferredUIMessage: [ m position: m position + 1 ].
(Delay forMilliseconds: 100) wait ] ] fork
--
View this message in context: http://forum.world.st/Is-there-an-easy-way-to-implement-an-animation-loop-tp4265423p4266739.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list