#

Introduction

As part of the 5100 module we have to create an online multiplayer game using the NekoEngine game engine, internal game engine at the SAE Institute Geneva school. This game must include at least one playable level and an interface for connecting at least two players.

Pitch

The game PongSoso is a reproduction of the game Pong imagined by Nolan Bushnell and developed by Allan Alcorn in 1972. This game is inspired by table tennis in top view.

Mechanics

Paddle

Two players compete against each other by moving the racket vertically represented by a red or blue line to hit the ball. There are limitations at the top and bottom of the screen so that the paddle cannot exit the screen from its ends.

Limitation top and bottom for paddles

There are two inputs available (up and down), depending on the input chosen, it changes the speed and direction of the paddle. Limitation and velocity player

Ball

There are limitations at the top and bottom of the screen so that the ball cannot exit the screen from its ends.

The speed of the ball increases each time the ball collides with a paddle board. Ball Velocity Increase

When the ball collides with a paddle, I refract the speed of the ball to make it bounce and I increase its speed by a constant. Ball Collision

The ball moves to the 0,0 position and returns to its base speed after leaving the field and take a life from the player. the ball returns to its base speed

If the ball reaches a certain position in x (ballPoint) I move it to the origin, reset its initial speed and invert it. The ball moves to position 0,0

End of the game

The goal is for each player to take the 11 lives of the opponent; lives that are lost when one player fails to return the ball to the other. A life score is displayed at the top of the screen.

Player Win

I check the lives of the players and when one of them reaches 0, there is only 1 player left alive. The last player alive becomes the winner of the game. Check Winner

Return to home page