Game Development with Swift
上QQ阅读APP看书,第一时间看更新

Summary

You have gained foundational knowledge of sprites, nodes, and actions in SpriteKit and already taken huge strides towards your first game with Swift.

You configured your project for landscape orientation, drew your first sprite, and then made it move, spin, and scale. You added a bee texture to your sprite, created an image atlas, and animated through the frames of flight. Finally, you built a world node to keep the gameplay centered on the player. Terrific work!

In the next chapter, we will use SpriteKit's physics engine to assign weight and gravity to our world, spawn more flying characters, and create the ground and sky.