Game Development Reference
In-Depth Information
Figure 9-1. The main menu
If you click the Copyright button, the high score entry menu should pop up. For this hands-on
example, try to enter some high scores manually, with entries containing different values for the
score. You can set the score ( m_Score ) at 93, for example, in the actual source code and then save
the file, recompile, run the program, and create a new entry in the high score table. The new entry in
the table should be the score you assigned to the m_Score value in the source code. (See Figure 9-2 .)
private int m_Score = 93;
Search WWH ::




Custom Search