Extending the Framework

  • Lee Stemkoski


This chapter begins by reviewing the code for the game from the previous chapter. Your main focus will be streamlining your code from the previous chapter by refactoring common elements into new classes that can be reused as needed. This will also make it easier to introduce more-advanced features, such as new methods for processing user input. Then you will see how your new classes can be used as a basis for additional game projects. Finally, you will improve your custom extensions of the Actor class by adding improved collision detection and response, managing multiple animations, and implementing physics-based movement.


Collision Detection Private Label Game World Discrete Input Public Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (17 mb) (zip 17441 kb)

Copyright information

© Lee Stemkoski 2015

Authors and Affiliations

  • Lee Stemkoski
    • 1
  1. 1.NYUS

Personalised recommendations