問題描述
Iphone app PNG 序列動畫 - 如何在不崩潰的情況下以最佳方式使用 OPENgle (Iphone app PNG sequence animation - How to use OPENgle optimally without crashing)
i am making an animation in opegle with pngs and considering to use the highest qaulity compression and not use pvr conversion.
Does anyone know the maximum amount of frames you can do before the processor starts getting chuggy? and i have a series of frames i would also note that my png sequence is roughly 75 frames and many in which are being repeated to help out.
all the best, charlie
參考解法
方法 1:
If all you are doing is animating through 75 PNG images, you might want to skip OpenGL, and just use the built in "animationImages" on UIImageView.
Here's an example
方法 2:
UIImageView Animation Images will work !
(by keuminotti、Eric Petroelje、Rajavanya Subramaniyan)