iphone animating frame rate and number of frames

后端 未结 3 1402
走了就别回头了
走了就别回头了 2021-01-07 04:48

I am working on an app where the customer wants to animate large images (305x332). The customer wants 50 frames in 1.75 seconds to animate in a loop. I am finding that the

3条回答
  •  遥遥无期
    2021-01-07 05:36

    The way it was explained to me, the way OS X, including iPhone OS, renders it's view, the images would be continually stacked on each other. Something that you may want to try is a large sprite image that includes all frames, cropped to one at a time and snaps to each frame as needed. This also reduces the image file overhead and rendering speed much like CSS sprites do in web apps. This works well in the HTML5/CSS3 animations I've done on the iPhone and may have the same success in your background image animation.

提交回复
热议问题