GPD Pong (Student Project)

Share Collapse

Author Comments

Released originally on September 3, 2016.


v1.1 (September 28, 2016)
- Dark blue color now replaces the black background in the game.
- Each one-player difficulty level now has a different maximum speed.
- Paddles reset their positions when one of the players goals.
- Sound pitch levels are now changed to give the feel of different sound effects coming from the same files.
- Play window size is now down to 800 by 450, but still supports full-screen and scaling.


Press the up and down arrow keys on your keyboard to move the paddle up and down respectively. In both one-player and two-player modes, these keys control the left paddle. In two-player mode, use W and S to move the paddle on the right.

Press P to toggle Pause Mode.


This is my first computer game project that has been published. It’s a training project for me because I have been learning Unity to build this, and eager to learn more about how Unity works and how to develop games with it.

A basic clone of Pong in 3D with one and two-player modes, and some initial ways to play the game, including different paddle colors, four music tracks, and different number of goals to win the game (5, 10, 20, and 50).

Please provide me some feedback on what you like, don’t like, and what you want to see in an update! Personal Website: http://gregpdessch.github.io


Q: The up and down arrow keys are unresponsive; the paddle doesn't respond to them as soon as I press up, down, W or S. Why is that?
A: I can't give a definitive answer, but it's possible that it has to do with both the browser's and the game's performance. This game runs using JavaScript with Unity's libraries. Depending on your bandwidth and how much you have loaded on your Internet browser, there is a propagation delay from when you press the key to having the game recognize it.


Influenced by Atari’s PONG arcade made in 1972.

You can view the source code of this game right here:

Any feedback on coding practices in game development could be useful; just leave a comment here or send me a message!

Font face used in this game is a replica of the in-game font for Nintendo’s Splatoon, called “Project Paintball.” Available for download here: http://fizzystack.web.fc2.com/splatoon/en.html

Music and Sound Licenses:

Source Code © 2016 Gregory Desrosiers. All rights reserved.

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!

It's an alright Pong game, but the resolution is way larger than it needs to be. The shadows of the paddle and ball are kind of distracting as well. Otherwise, good job!

GregoryDesrosiers responds:

So what would be the next step?

One thing I need to do is add a scale component in the scene so that when it plays at different resolutions, everything in the game has their size changed. Question is, how can I account for viewport sizes at different screen resolutions?

And what about shadows? Should they be turned off completely, or just dimmed?

Good.But the Hard mode isn't hard.I think hard is normal.I'll give you 4 stars.Keep going!

GregoryDesrosiers responds:

Sure. I really wasn't sure on what would be a better hard AI to program. I was thinking of not only predicting where the ball would hit the opponent's strike zone, but also figuring out the best approach to where the player wouldn't be able to hit the ball at all. That would mean that the ball would have to move more sideways, hitting the walls frequently, instead of left to right.

I did not do that because I felt it would make the game lag, as I tried to get 60 FPS. In the end, I got something like 35 or 40 FPS.

It's pretty good! Really easy , but it looks good , and its funny. Good job.

GregoryDesrosiers responds:


Things should be updated:
Marker for the points of the players
Better title screen
Movility at the start of the match
More SFX effects.
Maybe a background?
And finally a random gameplay like bigger or smaller things
This is not obligatory but I see potential on you and I know that you can do better things, I saw your website and i wanna know more about your works. The soundrack its amazing.

GregoryDesrosiers responds:

Thank you for your feedback! I'm still looking forward to getting additional comments from others to see what improvements to make in this game probably later. You can send me an e-mail if you like.

By the way, I don't know if you did see it, but the soundtrack I used is basically some free music to let me start off with using the tools for playing audio in the game.

Credits & Info

2.19 / 5.00

Sep 3, 2016
10:02 AM EDT
Sports - Other