Irv Kalb wrote: > > The best way to achieve something like this is to do move the sprite > at every frame event...
If you know how far you want it to go and how long you want it to take to get there, at each enter/exitframe you can check the current time/tick/millisecond and compare that to the start and end times, get a factor out of that and apply it to the loc of the sprite taking into account the start and end locations. "Hmm... where should the sprite be _now_?" The motion will be as smooth as the speed of the machine will allow and still end when and where you want it to. -- Carl West [EMAIL PROTECTED] http://eisen.home.attbi.com I have no superfluous leisure; my stay must be stolen out of other affairs; but I will attend you awhile. - Isabella, Measure for Measure, Act 3 Scene 1 - [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
