Ping
A downloadable game for Windows
Ping is a game made in C++ with the SFML graphics library. It is a Ping-Pong game where you use a paddle to reflect the ball(s) and prevent them from reaching your side of the screen. If a ball reaches your side of the screen, your opponent gets a point. If a ball reaches your opponent's side of the screen, you get a point. Whoever scores a certain number of points before the other, is the winner.
Settings
In this game, you can customize many aspects of the gameplay itself and also the appearance of the game, including adding your own themes. You can control the following:
- The amount of balls in a match
- The speed of the ball(s)
- The random change in the direction of the ball(s) after reflection
- The acceleration of the paddles
- The winning score, which when obtained earlier by any of the player, declares their victory
- The framerate of the game
- The theme
Controls
While playing against a bot, the player controls the paddle on the left using the WASD keys. The W key is used to move upward and the S key is used to move downward. While playing against a second player, the paddle on the left is controlled by WASD keys (with the same configuration as above) and the paddle on the right is controlled by arrow keys. The option to change controls is not yet implemented, but might be in a future update to the game.
Action | Left Paddle | Right Paddle |
---|---|---|
Move Up | W | Up Arrow |
Move Down | S | Down Arrow |
Custom Themes
To create a custom theme of your own, you would need to edit a certain JSON file. This location of the file is './Assets/Themes/themes.json'
Editing the file should be done by keeping the following rules in mind:
- There should be at least one theme present in the list in `themes.json` else the program will not run properly.
- The colors are in the format RGBA.
- The themes should contain all the parameters that the original themes provided by default contain.
- The alpha value of the colors should be explicitly mentioned. Leaving it blank may cause the program to not run properly.
- The value of each channel of the colors should be in the range [0, 255] (value belonging to the set of integers).
- It is recommended to keep the length of the name of the themes in the range of 1-10 characters.
Enjoy playing the game.
Software Used:
Updated | 12 days ago |
Published | 15 days ago |
Status | Released |
Platforms | Windows |
Release date | 15 days ago |
Author | WinterNox |
Genre | Action |
Made with | SFML, LMMS |
Tags | 2D, Arcade, Casual, Fast-Paced, Indie, Minimalist, SFML, Short, Singleplayer |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse |
Accessibility | High-contrast |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Animations are just PEAK.
Thanks! :D