Game Development Reference
In-Depth Information
We now have a nice animated background for our prototype representing deep
space and stars. Test your game and check if you like it!
Adding a GUI
No game can be considered polished without some kind of
Graphical User Inter-
face
(
GUI
). For our Space Invaders prototype we just need few things like the actual
score, the hi-score, and messages to be displayed for game over/game won events.
1. First we need a font to be used to display information on screen that will be
put into a
GUI Skin
, which is the entity that defines how a GUI looks and be-
haves. We also need a single script file.