I feel like a newbie that this simple animation is not working for me. I apparently do not understand the sequence data requirements. Please let me know what I am doing wrong.
Context:
- moving a mouth through 10 positions to correspond to audio file
- have data for audio onset time of each mouth position (and thus the duration before the next)
The same sprite sheet works with a simple loop animation. Below is my sequence data, but :play() does nothing. What I am expecting is to show frame 1 for 80ms, then frame 8 for 200ms, then frame 5 for 240ms, etc. What am I doing wrong?
mouthSequences[‘bubble_1’] = {
{name=‘rest0’, start=1, count=1, time=80, loopcount=1,},
{name=‘etc1’, start=8, count=1, time=200, loopcount=1,},
{name=‘E2’, start=5, count=1, time=240, loopcount=1,},
{name=‘rest3’, start=1, count=1, time=480, loopcount=1,},
{name=‘MBP4’, start=10, count=1, time=80, loopcount=1,},
{name=‘E5’, start=5, count=1, time=80, loopcount=1,},
{name=‘MBP6’, start=10, count=1, time=120, loopcount=1,},
{name=‘L7’, start=3, count=1, time=160, loopcount=1,},
{name=‘rest8’, start=1, count=1, time=40, loopcount=1,},
}