ios - Monotouch中最有效的sprite(frame)动画方式

标签 ios animation xamarin.ios sprite

我想知道在 MonoTouch 项目中执行 Sprite (帧)动画的最佳(高性能/FPS)方式。

我在 Android 中通过解码整个 Sprite 图像、将其裁剪成所需大小并以所需速度显示帧来非常有效地做到这一点。

那么,就 FPS 而言,在 Monotouch 中执行此操作的最有效方法是什么。

提前致谢。

最佳答案

您是否看过使用 MonoGame

SpriteBatch 类非常适合我们。它是底层的 OpenTK/OpenGL,因此如果您不想使用完整的 MonoGame,您可以根据需要重新调整它的用途。

关于ios - Monotouch中最有效的sprite(frame)动画方式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8662546/

相关文章:

ios - xcodebuild : error: 'APP.xcworkspace' does not exist

javascript - 对于动态添加的元素,动画无法正常工作

c# - 带有客户端证书的 Xamarin Forms https 抛出 WebException

ios - 单点触控 : PresentModalViewController and PresentViewController

ios - XCode 11.4.1 补丁后 Swift 应用程序无法找到 ObservableObject

ios - 使用动画问题缩小按钮的宽度

ios - 拉伸(stretch)图像的两侧但不是 uibutton 的中心

html - Css循环动画

html - 如何从右到左为元素宽度设置动画::之后?

ios - Monotouch - 显示一系列图像(太慢)