Game Configs
The Untold Engine currently supports the Gravity Scripting Language for game configuration only. i.e., tweaking game objects parameters for gameplay.
As of today, it does not have full support, as in, the ability to create a whole game using only Gravity. That feature will come soon.
To tweak a game object parameter, you must do the following:
Call an instance of the U4DGameConfig class.
Set the configuration keys
Load the configuration map values.
Here is an example:
You must provide a path to the gravity file containing the values for each key specified. In the above example, the "gameconfigs.gravity" should look like this:
Note, that you are required to have an init() function.
Last updated