-
Book Overview & Buying
-
Table Of Contents
Marmalade SDK Mobile Game Development Essentials
By :
If you download the code package for this chapter, you will find three projects that illustrate the use of the Marmalade functionality we have learnt about in this chapter.
The ITX project demonstrates use of the ITX text parser and the CIwManaged class.
The example first creates custom instances of our own class by parsing an ITX file, then serializes those instances out to a file. All the instances are then destroyed and re-created by loading the serialized file back in.
The example also demonstrates the use of two more parts of the IwUtil API, which we haven't covered in depth, but are very useful to know about. First is the class CIwManagedList, which is used for maintaining a list of objects derived from CIwManaged, and the second is the IwTrace system that allows us to log information to a file (and to the standard output) in order to aid debugging.
The Graphics2D project pulls everything we've learnt in this chapter together to render...
Change the font size
Change margin width
Change background colour