instructed/tilemap/README.md
szdytom fcb71be9e8
feat: Add mineral generation pass
Signed-off-by: szdytom <szdytom@qq.com>
2025-08-03 17:08:36 +08:00

13 lines
708 B
Markdown

# Tilemap Library
The Tilemap System used in Instructed. Generates 2D tilemaps with biomes, terrain features, and resource deposits.
## Features
- **Multi-layered terrain generation**: Base terrain (Land, Mountain, Sand, Water, Ice, Deepwater) with surface features
- **9 biome system**: Climate-based biome assignment using temperature/humidity noise
- **Resource generation**: Oil deposits and mineral clusters (Hematite, Titanomagnetite, Gibbsite)
- **Mineral deposits**: Three types of minerals generated on mountain edges in small clusters
- **Procedural algorithms**: Perlin noise, cellular automata, connected component analysis
- **Deterministic generation**: Same seed produces identical results