Summary

You have gained foundational knowledge of sprites, nodes, and actions in SpriteKit, and have already taken huge strides toward 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. Lastly, you built a camera 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.

Get Swift Game Development - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.