Chapter 9. Creating Conan the Caveman
In the previous chapter, the creation of Alien Attack demonstrated that the framework is now at a point where it can be used to quickly create a 2D side scrolling shooter. Other genres are also simple to make with most of the changes once again being contained within the object classes.
In this chapter, we will cover:
Adapting the previous code base for a new game
More precise tile-collision detection
Handling jumping
Possible additions to the framework
This chapter will use the framework to create a platform game, Conan the Caveman. Here is a screenshot of the finished game level:
Here's another screenshot with more enemies:
As with the previous chapter, this chapter is not a step-by-step guide to creating Conan the Caveman, rather it is an overview of the most important aspects of the game. The project for the game is available in the source code downloads.