O'Reilly logo

Marmalade SDK Mobile Game Development Essentials by Sean Scaplehorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Marmalade resource manager

Most bitmap art packages are capable of saving images in a number of different file formats, but we really need access to the actual bitmap data itself, which may well be stored in a compressed format with any particular file format.

Marmalade makes the task of loading images simple by way of the IwResManager API. This API relies upon the ITX file format we have just discussed, and is not just limited to loading images. It can also be used to load in data such as 3D models and animations, and we can also use it to keep track of our own custom classes.

Note

Earlier we had to create our own instance of CIwTextParserITX in order to parse an ITX file. IwResManager creates its own instance of CIwTextParserITX when it needs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required