Animation in LiveCode
bonnmike at gmail.com
Tue Jan 5 21:59:56 CET 2016
use "lock moves" before your moves, and add "without waiting" at the end of
each move command.
Unlock moves after you have all moves queued.
Also, rather than mess with setting the move speed a second time, just set
the loc of the images to where you want. Or even better, since they walk
off screen entirely, there is no reason to set them to invis, and since you
use "move" to tell them where to move from and to, you don't even need to
set the loc of them.
This is sufficient to the task.
set the moveSpeed to 50
move img "Tiger" from -59, 240 to 698, 240 without waiting
move img "TigerBack" from 698, 160 to -59, 160 without waiting
On Tue, Jan 5, 2016 at 1:23 PM, Richmond <richmondmathewson at gmail.com>
> Thanks to the good offices of Brahmanathaswami and GIMP
> I have removed the annoying surrounding round one
> of the frames in the Tiger animated GIF.
> I have uploaded a new version of the proof-of-concept stack:
> featuring 2 animated tigers.
> My "problem" is how to get them to animate at the same time.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode