Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.23 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.23 KB

Woglac tutorial

Let's give you some quick introduction what you can do with WOGLAC and how you can do it.

See also

Basic contepts

Writing in WOGLAC is similar to writing shaders, though the approach is more functional. We're basically writing a function f(x, y, z) -> block, that takes a position as an input and returns a block that belongs on that position. This means that technically, every block can be computed completely independently (and in parallel) and you can ask for any block at any position in the world without having to generate other blocks around.

This is more or less true even in practice, except the worldgen system works with 16×16×16 chunks and uses some heavy caching for the temporary results.

Tutorials

  1. Flatlands
  2. Hills
  3. Caves
  4. Voronoi/Worley noise, mountains
  5. Domain warping, mountains
  6. Biomes
  7. Trees, structure generation
  8. Dungeons, structure generation
  9. Mazes, structure generation
  10. Castle walls, structure generation imports, loops