Catlike Coding

Hex Map

Project and Tutorials

This page covers the Hex Map project, which is a continuation of the Hex Map tutorial series in project form. The original series was created with Unity versions 5 up to 2017.

The project has been upgrade to use Unity 2021 and URP and Unity 2022 starting at version 3.0.0. From now on the project will be updated with releases, each of which will have an accompanying tutorial guiding you through all changes. Like proper releases they are fixed and will never be altered, instead new releases will follow.

Besides demonstrating how to implement specific features this project also demonstrates how to incrementally work with, maintain, and improve an existing product.

The project repository contains all releases. The master branch has the bleeding-edge code of yet unreleased versions already in it, if available.

You can work through the original tutorial series or start at a release version of your choice and work from there, browsing older tutorials for any explanations that you need. 2.2.0 is a good starting point. The released tutorials are listed from highest to lowest version.

You can place units on the map with the U button. Without units you won't see anything when edit mode is disabled, as there is an exploration and fog of war system.

  1. 5.7 Set Terrain Type Burst Job
  2. 5.6 Create Climate Burst Job
  3. 5.5.0 The First Burst Job
  4. 5.4.0 New Map Generator
  5. 5.3.0 Storing the Found Path
  6. 5.2.0 Save and Load Menu
  7. 5.1.0 New Map Menu
  8. 5.0.0 New Input System
  9. 4.1.0 Better Dragging
  10. 4.0.0 UI Toolkit
  11. 3.4.0 Cell Struct
  12. 3.3.0 Hex Cell Data
  13. 3.2.0 Separating Search Data
  14. 3.1.0 Condensing Hex Values
  15. 3.0.0 No More Cell GOs
  16. 2.3.0 Leaner Cells
  17. 2.2.0 Cell Visuals Upgrade
  18. 2.1.0 Code Cleanup
  19. 2.0.0 URP