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

Chapter 2. Resource Management and 2D Graphics Rendering

Unless you happen to be writing an old school text adventure game (and perhaps even if you are), chances are that you will want more than just text in a simple debug font to appear on screen. Drawing nice-looking graphics demands that we should also be able to load those graphics into memory in order to display them; so in this chapter we will be looking at the following:

  • Using Marmalade's resource manager to load games resources
  • Extending the resource management system with our own custom classes
  • The programming choices we have available to us for rendering purposes
  • How to display a bitmapped image on screen using the IwGx API

The Marmalade ITX file format

An ITX file is Marmalade's built-in ...

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