To get Captain Chloride to do anything interesting, we've got to put him into a world. In games, worlds are generally implemented as levels. And making a level requires creating a file that specifies what objects the level contains. The game must read the file and create all of the objects it specifies. Although this can be a challenging task, LlamaWorks2D provides a class that makes adding levels to your game fairly easy. This chapter demonstrates the essentials of creating a level. It shows you how to put a character onto a background and scroll the background as the character moves. Before Captain Chloride can go into a level, we need to make some improvements to him. |