crystal.const
While iterating on a feature, it is convenient to rapidly adjust constants and see how it changes the end result. This is especially true when working on particle effects or fine tuning gameplay mechanics.
This module exposes a way to define and adjust such constants. Values can be adjusted programmatically or via the console.
Functions
| Name | Description |
|---|---|
| crystal.const.define | Defines a new constant. |
| crystal.const.get | Reads the value of a constant. |
| crystal.const.set | In development builds only, sets the value of a constant. |