Game Development Reference
In-Depth Information
Project 8
Let the World See the
Carnage! Save, Load,
and Post High Scores
In this chapter, we will talk about saving and loading the high score from the local machine
or web server.
Why do we need to save the high score? The advantage of the high score is to keep a record
of the players and how well they progress each ime they play the game. It also creates a
challenge for the players to beat their record and keep playing the game again. For the online
game, the high score is very important to let the players see their progress and compare with
their friends or other players.
Mission briefing
We will create a simple high score table so that the players can save the score locally
as well as post their score to the server database, by using the example project that is in
this chapter.
This chapter is basically the extension of the project in Project 7 , Creaing a Destrucible and
Interacive Virtual World , and it includes the new RESTART buton (using the OnGUI funcion
instead of the GUITexture buton). It also includes the ime UI and score UI for the player to
see the result when they complete the game.
 
Search WWH ::




Custom Search