We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
最简单的方法可能是在绘图/绘画程序中将所有效果渲染为具有透明度的 PNG,然后在 iPhone 本身上对它们进行定位/构建/动画处理。 这适用于发光、粒子和类似效果。
CGImage 是最快的图像数据渲染源,您可以在单个视图中手动对它们进行分层(通过自己定位和绘制),也可以绘制到单独的 UILayers 并使用该图层进行动画处理。
The easiest approach may be to render all your effects as PNGs with transparency in a drawing/painting program and just position/build/animate them on the iPhone itself. This will work for glows, particles and similar effects.
CGImage is the fastest rendering source for image data and you can either layer them manually in a single view (by positioning and drawing yourself) or draw to separate UILayers and use the layer to animate.
也许 SDL 可能会有所帮助。
编辑:只是为了激励
Maybe SDL could be helpful.
EDIT: just for motivation