A tank shooter written in modern C++ and OpenGL.
Browser version available here (requires WebGL 2.0).
- Windows.
- Linux. Some of the runtime dependencies are included in the archive. Not included are zlib, glib, xlib, and freetype. Install these with your package manager if you don't already have them.
git clone https://github.com/Eae02/tank-game.git
cd tank-game
On linux: Install the runtime dependencies (glfw 3.2, openal, freetype, libogg, libvorbis, libvorbisfile, zlib, lua 5.3) along with their headers. You will also need glm, cmake and gcc (version 5.3 or later) to build the game.
On windows: Your best option is to use vcpkg. Once you have vcpkg, install the dependencies by running vcpkg.exe install opengl openal-soft glfw3 freetype libogg libvorbis zlib glm lua
. You will also need to have cmake installed and available from the command line.
Create the build directory:
mkdir .build
cd .build
On linux:
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
cp -R ../res ../bin/Release
On windows (substitute VCPKG_PATH with the path to where you installed vcpkg):
cmake .. "-DCMAKE_TOOLCHAIN_FILE=VCPKG_PATH\scripts\buildsystems\vcpkg.cmake"
cmake --build . --config Release
robocopy ..\res ..\bin\Release\res /E /CREATE
The binary will be put in bin\Release.
Some of textures and sprites are self made while others are made by artists on the web, mainly nobiax and jylhis. The ambient music is taken from InterSpace.