首页 > 其他 > 详细

SpriteKit

时间:2014-01-20 08:56:03      阅读:445      评论:0      收藏:0      [点我收藏+]

SpriteKit

  Sprite Kit provides a graphics rendering and animation infrastructure that you can use to animate arbitrary textured images, or sprites。

  提供render和animation。

  Sprite Kit uses a traditional rendering loop where the contents of each frame are processed before the frame is rendered.

  先update后render。

  Sprite Kit also provides other functionality that is useful for games, including basic sound playback support and physics simulation

  也提供basic sound play back和physics simulation。

  SpriteKit一帧周期图:

  bubuko.com,布布扣

  很显示分为四个过程:

  1、update:更新数据。

  2、evaluates actions,dideEvaluateActions,执行动画。

  3、simulate physics、didSimulate Physics,模拟物理效果。

  4、render。

  其中1)是需要我们个性的地方,SpriteKit提供2)、3)、4)机制来帮助我们做游戏。

  Sprite Kit supports a rich rendering infrastructure and handles all of the low-level work to submit drawing commands to OpenGL, you can focus your efforts on solving higher-level design problems and creating great gameplay.

  OpenGL细节的确很多,SpriteKit帮助我们摆脱这些东西。

SpriteKit

原文:http://www.cnblogs.com/tekkaman/p/3526267.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!