Game Development Reference
In-Depth Information
Tip
Just because your game has running, jumping, and shooting mechanics, it doesn't auto-
matically make it fun to play. It is the relationship between the mechanics, the player, the
target audience, and the graphics that makes a game fun to play.
Let's take a look at all of these properties and how they affect the game play.
Creating a speed power-up
Let's take a look at the first one, Max speed . If you run the game, you will see that the
player moves around the game in eight directions. Max speed is the maximum amount of
speed of this movement.
Let's imagine for a moment that we want to add a power-up to the game. This power-up
will make the player move twice as fast for a small period of time.
Inserting the power-up object
The first thing we need to do is add another Gameobject to the screen. When we collide
with this game object, we will activate the power-up mechanic.
Search WWH ::




Custom Search