New answers tagged hexagon
If you are interested in doing a hex map you should definitely check out this http://www.redblobgames.com/grids/hexagons/ It coves few different methods of storing hex grids as well as basic operations like distance, fov, rotation and many more. It also describes how to do mapping from screen coordinates to hex coordinates and vice versa.
All three uniform 2D grids can be stored in a rectangular grid, you just have to scale and shear it to fit the one you're aiming for. To know what regions you need to load just transform the viewport extents to the data's coordinate system.
Top 50 recent answers are included