Game Development Reference
In-Depth Information
Player Mechanics
You have to learn the rules of the game. And then you have to play better than
anyone else.
Albert Einstein
6.1 Introduction
We've already examined numerous ways for the player to interact with the
game environment. One of the easiest methods is to let the physics engine do
all the work for determining how the player's avatar collides and moves game
objects. Before physics engines, this was probably one of the more difficult
and laborious jobs in programming the player mechanics.
Players require feedback from the game in order to determine their status and
progress. This could be in the form of a heads-up display (HUD) that informs
them of their health, money, enemy location, and much more. One of the first
classic HUDs that comes to mind is that from Wolfenstein . The bottom of the
screen shows the player's health, the weapon they are carrying, the weapons
Search Nedrilad ::

Custom Search