Team LiB
Previous Section Next Section

Chapter 10: GUI

Introduction

Graphical user interfaces are an important part of almost any interactive application these days. On tiny devices such as mobile phone handsets, the GUI becomes much more critical. The limited controls on the device and the miniscule amount of screen real estate means that clear, concise, and usable interfaces become all the more important.

BREW provides a fairly robust GUI package that includes all the basic elements such as text input boxes, menus, progress bars, and other GUI controls that are usually seen on desktop computers. GUI elements can be created in code or loaded out of a resource file. This chapter will explain both methods, as well as detail the common GUI components that you would need to use in a typical BREW game.

Click To expand
Figure 10-1: This is an extremely basic example of a game GUI. In this case, it is a simple main menu.
Team LiB
Previous Section Next Section