Game Development Reference
In-Depth Information
The outline class
As you saw in the walk-through of the PulseGame object, the outline object is the
first one to be painted onto the screen.
Let us now dissect the outline class in detail. The following screenshot shows the
lobby screen that lays on top of the outline. The outline class draws the following:
• Background
• Top-left avatar
• Friends bar
• Chat history
• Chat input
All the other UI elements are laid by the lobby screen, which we will discuss shortly.
Also note that the outline class is not a subclass of screen object, although it could
be. The reason it does not have to be is because the outline is always present in the
background as opposed to other screens, which they may show and hide many
times over.
 
Search WWH ::




Custom Search