Skip to content

Bondoki/HexagonGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.