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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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