Game Development Reference
In-Depth Information
Game assets include everything that is going to be used as a kind of working
material in your game, such as images, sound effects, background music, and
level data.
Game logic is responsible for keeping track of the current game state and to only
allow a defined set of state transitions. These states will change a lot over time due
to the events triggered either by the player or by the game logic itself. For example,
when a player presses a button, picks up an item, or an enemy hits the player, the
game logic will decide the appropriate action to be taken. All this is better known
as gameplay. It constrains the ways of action in which a player can interact with the
game world, and also how the game world would react to the player's actions.
To give you a better idea of this, take a look at the following diagram:
Start
Initialization
Game Logic
Handle input:
keyboard,
mouse, touch
Handle
sensors:
Handle
network
loop until
game ends
Update Game World Model
(Time-based using delta times)
Render Game World
Termination
The very first step is to initialize the game, that is, loading assets into memory,
creating the initial state of the game world, and registering with a couple of
subsystems, such as input handlers for keyboard, mouse and touch input, audio for
playback and recording, sensors, and network communication.
 
Search WWH ::




Custom Search