Timing

Mike Bonner bonnmike at gmail.com
Wed May 15 09:50:38 CDT 2013


You'll need to control the gif frames yourself to do this.  In the
dictionary look at framecount, currentframe, palindromeframes, and
repeatcount

Basically you'll want to set repeatcount to 0 for all of the gifs, then
write your own loop to set the current frame of all the gifs in question so
that they match.


On Wed, May 15, 2013 at 8:42 AM, Bert Shuler <bertshuler at yahoo.com> wrote:

> I have a game board that is 20x20 with 400 images, each is 10px x 10px.
>
> As my character, a snake, navigates through, it grows.
>
> So on second 1, the snake is 1 cell in length, on second 2 it is 2 cells
> long, etc...
>
> I want to use an animated gif in each cell the snake occupies to show the
> snake moving.
> This issue is, I need all of the gifs synchronized, otherwise it looks
> funky at the cell borders.
>
> Is LC capable of this kind of synchronization?
>
> Is there a better way?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list