|
Re: back and forth: msg#00119lang.smalltalk.squeak.beginners
David H. Shanabrook wrote: Trying to get and object to move back and forth in etoys. Something simple like:Etoys does a little optimization behind the scenes and batch screen update in each "tick" of a script together, so the result is no movement. You can try to do this: Player forward 50 Player heading increaseBy: 180 or use a test tile and a boolean variable: movedForward true: Player forward -50 movedForward := false false: Player forward 50 movedForward := true Karl
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: back and forth, David Mitchell |
|---|---|
| Next by Date: | Re: I am a total beginner with some questions, kennellgr |
| Previous by Thread: | Re: back and forth, David Mitchell |
| Next by Thread: | NewCompiler crashes Squeak, squeak414 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |