Basic Game Objects

  • Arjan Egges
Chapter

Abstract

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.

Keywords

Chrome Sine 

Copyright information

© Arjan Egges 2014

Authors and Affiliations

  • Arjan Egges
    • 1
  1. 1.UtrechtThe Netherlands

Personalised recommendations