Hi,
I’m currently developing a game for children with some animations and audio that needs to be in sync with those animations. One example: A character jumps into the screen and as soon as he lands on the floor, his mouth begins to move in several states and I’m playing his voice with an mp3 file. Then after a few seconds, another character also begins to speak / answer the first character and also moves his mouth to the sound.
The important thing is now that the movement of the mouth and the played audio file need to be in sync. Right now I’m primarily doing this with timers, but I’m not sure whether this is the best practice, especially with varying devices (IPhone 3, 3Gs, 4, IPod Touch, IPad, even Android phones) and different system ressources regarding CPU power and RAM.
Do you guys have any hints how I could optimize this in order for it to run optimally synchronized on several devices?
Thanks,
Ben [import]uid: 11219 topic_id: 4838 reply_id: 304838[/import]