Game Development Reference
In-Depth Information
Figure 14-10. The level select screen unlocks all available levels
Building the Game Level
The game level is the meat of the game. It is the actual battle between the hero and enemies. The main goal here is to
create this game scene to adjust to the level data passed into it. Before getting into the code, here's a quick overview of
what the battle will consist of, how it will work, and how to play it.
Reviewing the RPG Battle System
An RPG battle system typically involves some sort of menu for the player to choose from when it's their turn to take
action. In a turn-based system, like the one you will be building, there is usually an amount of time that needs to
expire before the player can make their next move. A progress bar will be built to display this wait time during a battle.
There are several types of these systems, but the one you will be building will allow the enemies to continuously
attack, and not wait for the player to make an action. The amount of time between enemy attacks is declared in the
level data. The player will have a small menu to dictate what action they want to take. An attack action is always free,
 
Search WWH ::




Custom Search