After a couple of year break from doing much programming or pixel art, I decided to start working on  a hex map generator.  I updated to Godot 4, and figured I'd use this project to learn it. 

Not a lot to it so far.  I've been working out procedurally generating landmasses of varying styles, setting up a mini-map, and spent a lot of time working out hex based auto-tiling. 

Controls:

  • W,A,S,D - Movement
  • Click the minimap to move to a location
  • o - Toggle option menu
  • m - Toggle minimap
  • Scroll mouse wheel to zoom in/out

Map Sizes:

  • Tiny - 48x48
  • Small - 64x64
  • Medium - 96x96
  • Large - 128x128
  • Huge - 192x192
  • Giant - 256x256

The larger ones tend to be fairly slow for now, I'll work on optimizing them soon.  Don't keep clicking 'Generate'.  I haven't figured out how to block input while the system is processing yet.  

Map Styles:

  • Standard - One large continent with potentially some small islands.
  • Divided - Two relatively equal landmasses side by side.
  • Quads - Four relatively equal landmasses, one in each corner.
  • Lagoon - One large landmass, with an inlet and lagoon in the center.
  • Islands - Lots of smaller island scattered around the map.
  • Random - Let the fates decide.

Options:

  • Ocean Border - How wide is the ocean surrounding the map.
  • Land Seeds - The more land seeds, the more land.
  • Coast Roughness - This attempts to break up the coastlines a bit an make them more jagged.
  • Temperature - Make your world warmer or colder.
  • Display Hexes - Toggle whether to show hex border overlays.
  • Toggle Lighting - Turn on lighting and the day/night cycle.
  • Toggle FOW - Toggle fog of war.  This allows you to see a greyed out version of hexes you have already explored, however you can not see any NPCs that might be on them.
  • Toggle NPCs - Show or hide all the little NPC critters running around the map.

There will be many more options, once I start adding in heightmaps, moisture, terrain, rivers, etc.  Feel free to leave any suggestions in the comments.

As far as what I plan to 'do' with this, I don't really know.  I sort of want to make an exploration 'game' with it.  Suggestions welcome.  


StatusPrototype
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorold_flick
Made withGodot, GIMP
Tags2D, Godot, Hex Based, Pixel Art

Development log

Leave a comment

Log in with itch.io to leave a comment.