0
Ülevaatamisel

Slow page turn

Gabrielle Strouse 10 aastat tagasi uuendatud 10 aastat tagasi 2
Hi, I have two apps that are almost identical with one exception.  In app A, you tap anywhere on the screen to go to the next page.  In app B, you tap on a specific area, it plays the audio "good job" then goes to the next page.  App A is snappy and App B hangs on each page turn for way too long.  The "good job" audio is 24k, so it really shouldn't be causing such a slowdown!  Also, the slowdown happens even on the first page which is identical. I am wondering what I can do to help.  It is not a large app and is quite simple, just has 2 images appear and plays some audio on each page.

Vasta

Vasta
Ülevaatamisel
In app B, is the Jump behavior chained after the Tap-PlayAudio action set? If so, it might be that the Jump behavior is lagging when waiting for the audio to finish. Try instead creating a Tap-Jump action set with a Delay Before of a second or two so that it goes to the next page without depending on the PlayAudio behavior.
Vasta
Ülevaatamisel
In app B, is the Jump behavior chained after the Tap-PlayAudio action set? If so, it might be that the Jump behavior is lagging when waiting for the audio to finish. Try instead creating a Tap-Jump action set with a Delay Before of a second or two so that it goes to the next page without depending on the PlayAudio behavior.
Hi Inna, thanks for your help!  Unfortunately, I don't think this made much of a difference.  Now I've noticed the other book,which was always very fast before, has started lagging sometimes now too. Is there any way to cache them to the device to help it out?  I've tried different web browsers, but it seems about the same in each.  Thanks.