Next Steps

In this chapter, you learned a lot about the SpriteKit physics engine and physics bodies. You played inside a custom playground where you got to muck around with the physics world, and you added everything you need to handle collision detection in Gloop Drop. You also discovered the difference between moving nodes with actions versus using the built-in physics engine.

In the next chapter, you’ll add the ability to track the player’s score and show important messages to the player using labels. You’ll also add a way to start and end the game.

More on SpriteKit Physics

images/aside-icons/info.png

The SpriteKit physics engine is very powerful, and there is a lot more to it than what you learned in this chapter. If you’re interested in playing with some of the more advanced features of the SpriteKit physics engine, review the AdvancedPhysicsSimulation.playground file in the projects/playgrounds folder. The code in that file is documented to help you follow along.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset