June 2017
Beginner
348 pages
7h 50m
English
Let's take a look at a simple example of a common FPS game, and for that we'll be using the states demonstrated in the preceding image.
Imagine that we are the enemy character of the game and our goal is to shoot and kill the player using only the states walk, run, cover, jump, fire, and defend. We need to take into consideration that the player will do his best to kill us, and therefore a lot of possible scenarios may arrive. Let's start with the basics we are walking from one point to another while protecting our space and as the player goes near that space, our goal changes from protecting our space to the definitive goal, that is, killing the player. What should we do next? Fire? Run towards the player and ...
Read now
Unlock full access