Hexagon Globe
Complete projects/Templates
Dmytro Varivodin
Hexagon Globe is a scripting framework for procedurally generate tiled sphere composed of hexagons and pentagons allowing you to generate planet.
The package consists of several scripts which perform the task of building tiled sphere with several types of tiles to allow you to build a tile based games.
This package include advanced features, tools that will make it easier and faster than ever your game up and running.
In version 1.2:
- added editing for customizing paths and obstacles between tiles and their visualization;
- modified path search algorithm.
Custom Editor Interfaces
- custom Inspector buttons and sliders let you generate and adjust the Hexagon Globe in Edit mode with three different methods, save and load generated globe to binary file or clear if you prefer, adjust several generating parameters for polar caps, continents and islands.
Spherical pathfinding:
- find shortest way between any tiles with two available algorithms (simply and A*), if it exists, and highlight path tiles;
- different tile types set as walkable and unwalkable, and assigned different weights in code;
- package contains several tile types of terrain and "mountains" tiles looks like pyramids with height;
- package contains several tile types of "pathways" and "obstacles" on tiles;
Edit sphere:
- function allowing you to select any tiles on globe either individually or from the selection area as you prefer;
- in terrain dropdown menu you can select terrain type for change selected tiles;
- in tile editor menu you can select path or obstacle for change on selected direction;
Navigation and zoom:
- functionality allows you to review the globe from all directions and zoom the camera to the surface.