Game Development Reference
In-Depth Information
7. Test your game. Try to move the whale from the beginning to the end of the game.
At the moment, there aren't any collisions. We will learn how to create them later.
The important thing now is that our player can move freely through the icebergs.
The values of this project to move the whale are as follows:
The right arrow key, to move the player forward, is Y= -0.50 . This value depends
on how fast the whale moves in the forward direcion.
The left arrow key, to move the player back, is Y= 0.10 . This value is smaller, as the
whale is slower when it moves backwards, as compared to forward movement
The down arrow key, to move the player down, is Z= -0.30 . This value depends on
how fast the whale moves down when we move it.
The up arrow key, to move the player up, is Z= 0.40 . The value is increased,
when compared to the downward movement, because the whale swims
upwards faster.
 
Search Nedrilad ::




Custom Search