Skip to content
All projects
Tools & Assets · 2020

Marching Squares

Unity | C# | procedural 2D terrain

Marching Squares

A Unity terrain template for Terraria-style 2D worlds, published on the Asset Store. Marching-squares meshing turns tile data into smooth, destructible terrain; procedural generation fills it with caves, layered dirt and grass, vines and trees; and a chunk-based setup keeps the worlds editable.

Highlights

  • Marching-squares meshing for smooth, destructible 2D terrain silhouettes.
  • Procedural cave and surface generation with layered dirt, grass, vines and trees.
  • Chunk-based terrain built for editable, Terraria-inspired worlds.
  • Published as a reusable template on the Unity Asset Store.

Screenshots

Generated surface and cave shapes
Large cave generation
Tile blending and decorations

More in Tools & Assets