Bondoki / HexagonGrid

Hexagonal Grid Visualization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexagonal Grid Visualization

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 :)

HexBoard Hexagon

Installation

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

Usage

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

References, License, Credit

The program acknowledge the libraries and refer to the appropriate licenses

Acknowledgment

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.

About

Hexagonal Grid Visualization

License:Creative Commons Zero v1.0 Universal


Languages

Language:C++ 100.0%