The previous chapter introduced the ClanLib game SDK and briefly discussed its importance for 2D games. This chapter takes a closer look at ClanLib and examines specifically how it can be used to render all kinds of images onto the display. Furthermore, animation with sprites is considered, along with ClanLib's XML-based resource system and other topics. Overall, this chapter considers the following subjects:
2D games and images
Surfaces and sprites
Alpha channels
Transformations
XML