![]() |
Jumpvalley 0.5.0
An app and library that can be used to test and run 3D platformer levels. Currently being made with Godot.
|
Class containing some info about a level. More...
Public Member Functions | |
LevelInfo (JsonNode data) | |
![]() | |
JsonInfoFile () | |
Zero-parameter constructor for cases where extracting data from JSON text isn't needed. | |
JsonInfoFile (JsonNode data) | |
Reads a JSON info file from its raw text and stores such data in the RawData field. | |
Public Attributes | |
string | Id |
The level's internal identifier. For example, you can make the identifier a shortened version of the full name. In order for level loading to work properly, this ID must match the directory name of the level within the resource filesystem. This is due to the current limitations of resource pack loading in Godot. For instance, if the level's ID is "demo", the contents of the level within the levels folder in the resource filesystem must be located at res://levels/demo | |
string | FullName |
The full name of the level. This is the name of the level that will actually be displayed to the user, and it can be different from the name of the level's root node. | |
string | Creators |
The creators of the level. | |
Difficulty | LevelDifficulty |
How difficult the level is. | |
string | ScenePath |
The file path to the scene file that contains the level, including the file name and extension. This path should typically be relative to the level's root folder. | |
![]() | |
JsonNode | Data |
The JSON node containing the info file's data. This is the root node of the info file's JSON content. | |
Additional Inherited Members | |
![]() | |
static readonly string | FILE_NAME = "info.json" |
The full file name of a JSON info file stored somewhere on a filesystem, including the file extension. | |
Class containing some info about a level.