AdivonSlav / glPong

An OpenGL clone of the Atari classic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glPong License

A clone of the Atari classic built with C++ and OpenGL using the GLFW and GLEW libraries. Started as a small learning project while I was working my way through the OpenGL graphics API. For the math library, I ended up making my own and implementing simple vector and matrix containers coupled with basic mathematical operations. For simple text rendering functionality, I ended up using the Freetype library

glPongGIF

Controls:

  • WASD - Left paddle
  • Arrow keys - Right paddle
  • Esc - Closes game
  • Space - Pauses game

Build instructions

Simply run the file genproj.bat and it will generate the necessary VS2022 project files. After that, open the solution with Visual Studio. If generating for an earlier version of Visual Studio, edit the file and replace 'vs2022' with your version.

Pre-compiled binaries

Compatibility

I only tested this with Windows but it should work on other systems as well.

About

An OpenGL clone of the Atari classic

License:Apache License 2.0


Languages

Language:C++ 95.1%Language:Lua 2.9%Language:GLSL 1.7%Language:C 0.2%Language:Batchfile 0.1%