swift 3 and ios10 xcode8 So far, you’ve learned how to move and rotate SpriteKit nodes — a node being anything that appears onscreen — by manually setting their positions and rotations over time. This do-it-yourself approach works and is quite powerful, but SpriteKit provides an easier way to move sprites incrementally: actions. Actions allow you to do things like rotate, scale or change a sprite’s position over time — with only a single line of code! You can also chain actions together to create movement combinations quite easily. In this chapter, you’ll learn all about SpriteKit actions as you add enemies, collectibles and basic gameplay logic to your game. You’ll see how actions can simplify your game-coding life, and by the time you’ve finished this chapter, Zombie Conga will be action-packed!
剩余670页未读,继续阅读
- 粉丝: 0
- 资源: 4
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助