|
Jumpvalley 0.7.0
An app and library that can be used to test and run 3D platformer levels! Made with Godot.
|
Class containing some info about a level. More...
Public Member Functions | |
| LevelInfo (JsonNode data) | |
| Public Member Functions inherited from UTheCat.Jumpvalley.Core.IO.JsonInfoFile | |
| 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. | |
| double | LevelDifficulty |
| How difficult the level is. As far as LevelInfo is concerned, this is just a number. It's up to the developer or user to assign meaning to this number. | |
| 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. | |
| Public Attributes inherited from UTheCat.Jumpvalley.Core.IO.JsonInfoFile | |
| 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 Public Attributes inherited from UTheCat.Jumpvalley.Core.IO.JsonInfoFile | |
| 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.