Terrain Engine 2D

A 2D Block Engine for Unity


Terrain Engine 2D is a Unity 2D block engine which has everything you need to generate and modify a complete sandbox world.

It's a very fast, easy to setup, and expandable block engine. Have a complex procedurally generated world setup in minutes!

Terrain Engine 2D has reached the end of its life on the asset store and is now deprecated.

Main Features

Grid Based Tiling System

  • Chunk loaded mesh rendering
  • Z-ordered layering
  • Bitmasking
  • Supports multi-tile blocks
  • Supports tile variations

Procedural Map Generation Framework

  • Simple and easy to setup
  • Supports multiple passes
  • Use your own noise algorithms and random functions

Dynamic Modification Tools

  • Place and destroy blocks by layer
  • Helpful GUI for testing
  • Adjustable modifying radius
  • Functional camera movement system
  • Elegant grid selection/block placement tool

Full Collider System

  • Procedural PolygonCollider2D point setting algorithm
  • Dynamic path modification
  • Chunk loaded

Complete Fluid System

  • Fast fluid physics using cellular automata
  • Beautiful and smooth fluid simulation
  • Custom fluid types
  • Fluid color mixing and density
  • Dynamic fluid pressure

Basic Block Lighting

  • Fast shadow masking
  • Dynamically updated

Advanced 2D Block Lighting

  • Custom post processing for mesh lighting
  • Day/Night cycle
  • Raycast and floodlights
  • Dynamic shadows
  • Ambient block lighting

File Saving and Loading

  • World Serialization
  • Dynamic file saving
  • Single file stores all block data
  • Load terrain from file

Falling Block Simulation

  • Selected blocks will fall with gravity
  • Supports multiple block types

Custom Inspector

  • Custom reorderable layer and block lists
  • Quickly setup all your blocks and layers
  • Access to all major properties
  • Random Seed Generator