This project is a remake of the classic game Pong using C++ and OpenGL in a Unix-type OS.
My main objective is to learn more of the new OpenGL while coding a simple game.
Extra libraries used are:
-
SFML, for creating an OpenGL context (game window, music and input).
-
GLEW, for implementing OpenGL functionality.
-
GLM, for implementing matrices.
First of all, make sure that your graphics driver supports OpenGL 4.0 or higher.
1. Open the project's directory with a Terminal.
2. Install SFML, GLEW and GLM with make install:
$ make install
3. Compile and run the program with make run:
$ make run
-
Esc: Leaves game.
-
W/S: Moves left player up/down.
-
Up/Down: Moves right player up/down.
-
Very helpful tutorials:
-
Aaron Krogh for the awesome music!
- space.ogg is his Fashion Models from Space track.