mapgen2 is a procedural map / island generator intended for games. It focuses on generating continent/island style maps (coastlines, mountains, rivers, etc.) with a vector / polygonal structure rather than a full high-resolution tile grid. Originally written in ActionScript, this tool emphasizes generating aesthetically pleasing island maps with realistic natural features while keeping computational complexity manageable. It supports exporting to SWF (Flash) via appropriate tooling. The most important features I want are nice island/continent coastlines, mountains, and rivers. Non-goals include impassable areas (except for the ocean), maze-like structures, or realistic height maps.

Features

  • Generates coastlines and island/continent outlines surrounded by water
  • Computes elevation as distance from coastline, so that mountains tend to be furthest inland, enabling believable terrain gradient
  • Generates rivers flowing down from valleys to the coast
  • Uses a polygonal map structure (~1,000 polygons) rather than a huge grid of tiles, allowing for efficient region distinctions, road/river routing etc.
  • Supports exporting to bitmap (tile map) while preserving underlying vector/polygon data to allow further game logic (territory, naming, etc.)
  • Includes decorative features / modules like noisy coastline edges, roads spanning tree, lava etc. to add variety and more organic shapes

Project Samples

Project Activity

See All Activity >

Categories

Games

License

MIT License

Follow mapgen2

mapgen2 Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mapgen2!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

ActionScript

Related Categories

ActionScript Games

Registered

2025-09-19