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 ...
Get SDL Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.