Swipe to navigate through the chapters of this book
In this chapter, you see how your game program can react to button presses. In order to do this, you need an instruction called if that executes an instruction (or a group of instructions) when a condition is met. You also learn to structure your code a bit more into objects and methods.
Please log in to get access to this content
To get access to this content you need the following product:
- Reacting to Player Input
- Sequence number
- Chapter number
- Chapter 6