A cross-platform tile-based hex game made in C++ and OpenGL
- An "infinite" procedurally generated map
- Select an entity (player) by left-clicking the hex it is on (left-click on an empty hex to deselect)
- Right-click on a hex to move the selected entity to that hex, which reveals the terrain in a radius around it
- Use the arrow keys to move the camera around
- Zoom in and out using the mouse wheel
- Click Escape to close the game
- The C standard library
- OpenGL 4.3 using GLEW
- GLFW for cross-platform window and input management
- The C99 version of FastNoiseLite for procedural noise generation
- stb_image for texture loading
Open kamkar.sln
using Visual Studio, switch to Release mode with x86 and click "Local Windows Debugger". If you want to share the executable (which you can find in the Release
folder), make sure to copy the textures
folder to the same folder as kamkar.exe
.
Install the libraries (GLEW, GLFW) using a package manager, then run source ./build.sh
.