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
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
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