Scene diagram

A scene diagram is useful when designing the skeleton of the application. For now, the scene is just a screen that is part of our game. We want to have a few different screens in our game, that is, different scenes. A typical game contains at least a splash scene, a menu scene, and a game scene. A splash scene is usually used to load resources in the background while showing a badge or logo of the game author.

We can add a loading scene between the menu and the game or between different levels or stages of the game. Some games will also have a special scene for game settings, final score, hall of fame, and so on.

We will keep our scenes to a minimum. The following is a simple diagram that shows transitions from one scene to another. ...

Get Learning AndEngine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.