|
Re: moving eye in squeak: msg#00106lang.smalltalk.squeak.beginners
Hello, m> i want to write code for moving eyes just like the eyes in squeak logo.can m> any one helps me please. sorry, your question is a bit unclear to me. MovingEyeMorph is ready made for use and change. So: The moving part of the moving eye is done in MovingEyeMorph>>step. (read this as in a Browser find the class "MovingEyeMorph" and there look at the step method. The geometry is set up in the initialize method. If you don't yet know what a Morph is, there's a lot of material on the swiki at http://wiki.squeak.org I find Jim Benson's Article at http://wiki.squeak.org/1253 a pleasant read for a start, even though it's a bit outdated. regards Herbert mailto:herbertkoenig@xxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: moving eye in squeak, Enno Schwass |
|---|---|
| Next by Date: | Re: moving eye in squeak, Scott Wallace |
| Previous by Thread: | Re: moving eye in squeak, Enno Schwass |
| Next by Thread: | Re: moving eye in squeak, Scott Wallace |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |