Chapter 8 Using the Scene Editor to Add Physics

Apple Game Frameworks and Technologies — by Tammy Coron (81 / 193)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Next Steps | TOC | Write Code to Interface with the Scene 👉

In the previous chapter, you started building your first scene with the Scene Editor. You learned how to add nodes and set up their properties using the Attributes Inspector. During this process, you added the background node, the player node, and several other nodes that make up the D-pad controller and the Attack button.

But using the Scene Editor doesn’t mean you get to ignore the code part of game development. You still need to write the code that drives the logic of your game.

In this chapter, you’ll concentrate on building out the functionality and movement of the player. As you work through this chapter, you’ll learn how to set up physics using the Scene Editor and how to connect your code with the scenes you create. By the end, you’ll be able to move the player around the scene and launch a fierce attack thanks to your epic coding skills.

👈 Next Steps | TOC | Write Code to Interface with the Scene 👉

Apple Game Frameworks and Technologies by Tammy Coron can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.