Swipe to navigate through the chapters of this book
In this chapter, you start organizing the source code of the Painter game a bit more. This is necessary because the source code of a game contains many lines of code. In the previous examples, you began grouping variables over different objects (such as Canvas2D or cannon). In this chapter, you continue structuring your code by using more objects and by splitting the code over separate files.
Please log in to get access to this content
To get access to this content you need the following product:
- Basic Game Objects
- Sequence number
- Chapter number
- Chapter 7