Stick-Ball Caves Guide


Back

The Goal

We will describe how to create "stick and ball" caves, meaning there are balls (nodes) connected by sticks (edges).

The Theory

See this page for the theory of how this type of cave works.

Creating These Using the Lua-to-C Chunk Generation API

See this pdf for using a few built-in Chunk Generation API functions for creating stick and ball caves. These can be used to create a simple "hello world" example, but they do not provide fine control.

See also "Basement Floor 4" of the package_tutorial1 package that comes with the game. There are rooms which show how to use these cave creation functions.