Designing Game Elements: Game State
Everything in the game together, including the current player resources and everything else that makes up a snapshot of the game state at a single point in time.
Since the game is meant to have an MMORPG feel, a database must be used in order to track important details of the final game state whenever ending a session. The database is then used in the following session to continue from where the game was left off.
The following is a list of the Game State Variables that need to be saved:
Player Character Names along with the respective player names must be saved in order for each player to be able to continue playing their characters in future sessions.
Equipment / Items which are equipped by each player must be saved in the database in order not to lose player progression. When players regain their equipment and items in the following session, they will be able to work out their total stats (Max Health / Power).
Gold which the players have been saving up also must be saved, for the same reason as with equipment and items.
Current Zone refers to the highest level zone which is currently accessible by players but is not yet completed. This must be saved in the database in order to keep track of how many zones the players have completed so far. In the following session, the current and all lower level zone decks are made accessible to players but only the boss card of the current zone is added since all previous bosses had been defeated by this point.
Player Character Names along with the respective player names must be saved in order for each player to be able to continue playing their characters in future sessions.
Equipment / Items which are equipped by each player must be saved in the database in order not to lose player progression. When players regain their equipment and items in the following session, they will be able to work out their total stats (Max Health / Power).
Gold which the players have been saving up also must be saved, for the same reason as with equipment and items.
Current Zone refers to the highest level zone which is currently accessible by players but is not yet completed. This must be saved in the database in order to keep track of how many zones the players have completed so far. In the following session, the current and all lower level zone decks are made accessible to players but only the boss card of the current zone is added since all previous bosses had been defeated by this point.
No comments:
Post a Comment