Hello, this is the TUTORIAL #4 [BASE ACTION]
Service action is executed when you press the RIGHT mouse button or push B on joypad contoller, in this case the player do a spin service action, you can’t serve before the judge’s whistle sound;
The cursor position is approximately the target of the shot, all the game play is based on physics engine and when the player shot the ball, by the collision between his hands and the ball, it apply a force in the cursor direction, there isn’t any precalculated destination of the ball, but all is based on the physics, as in the real world volleyball;
The bagher action is executed when the destination of the ball is your player and the ball height and distance are near the player area and under the player height;
In this condition if you press the LEFT mouse button or the A button on joypad the player do a bagher action;
In the next image you can see that the player shot the ball to the lifter, the player that is identified by the red circle;
You don’t worry about to position your player exactly under the ball because there is an action assistant that automatically position the player near the right shot position, where possible, and this happen in all the player’s action;
The next image show the assist action, when the ball fall over the head of your target player and you press the shot command, LEFT mouse button or A button on joypad, the player do the action;
Spike action is very similar to the real volleyball, you need to take the right time before do the jump. There is also an action assistant that help you to spike in the right way, but is not total automatic, if you have your player in a bad position the action is anyway faulty;
In the next image you see that your player shot the ball in the cursor direction, for this action you need to press the RIGHT mouse button or B button on joypad and the cursor must be in the opposite court;
Notice the artificial intelligence of the opposite team player that make a block;
Block action is execute when the ball is in the opposite court and you press the RIGHT mouse button or B button on joypad. If the ball collide with the hands of your player there is a collision physics reflection that rejects the ball;
When you play pay attention to the movement of all the players of your team because they follow a volleyball schema, the game is not a real world simulation but a little bit similar;
Best regards…