Documentation
¶
Overview ¶
Package scripts holds the map generation for Caves: pure algorithms, no engine types. Generation is just Go code; the game turns the grid into tagged engine objects.
Index ¶
Constants ¶
View Source
const ( // Cols x Rows cells of Cell pixels fill the 800x600 window. Cols = 40 Rows = 30 Cell = 20.0 )
Variables ¶
This section is empty.
Functions ¶
func FindOpen ¶
FindOpen returns an open cell as close to the map center as possible: the player's spawn point.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.