Rendering of the hexagon tiles in various layout to emphasize pseudo 2.5 view. This program provides routine for selecting and creation of hex tiles. It's just for fun and educational purpose. Feel free to modify, improve, and use it - also the assets :)
Just do for standard compilation (tested with gcc 8.2.1):
# generates the application
g++ -o IsometricTilesHexagon IsometricTilesHexagon.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17 -Wno-narrowing
Simply use the mouse to hover on the board.
Use the left mouse button to toggle the tile style.
Use the right mouse button to toggle the tile on/off.
Use the number keys 1-8 to select board style.
ESC : quit
The program acknowledge the libraries and refer to the appropriate licenses
- olcPixelGameEngine by Javidx9
- Hex by redblobgames
- Other pieces of codes are released under Creative Commons Zero v1.0 Universal for free usage.
Inspired by the Coding Quickie: Isometric Tiles of Javidx9 gave the idea for this. The code for the implementing hex tiles is heavly based on the the very good hexagonal grid tutorial by redblobgames.