Expand description
Library providing track editor functions for the Rekee web application.
When the library is compiled into a WASM module it will include a main
function which connects the view components to the web page environment.
The following HTML elements are looked up by element id:
catalog-container
(mandatory)catalog-config-container
(mandatory)export-container
(mandatory)map-container
(mandatory)track-info-container
(optional)map-config-container
(optional)map-detail-container
(optional)version
(optional)welcome
(optional)
The library can also be used outside the web environment as a native
library to process track files. For details take a look at the files in the
examples
folder.
Modules§
- Set of tiles that belong to the same game edition (core box or expansion).
- Utilitiy functions for map image export.
- Types and methods for working with a hexagon grid.
- Import and export of map data.
- Map of tiles within a hexagon grid.
- Tile identifier and characteristics.
- Token which can be added to tiles. Can be used to add effects like a jump or water hazard area to a track tile. They are also used to indicate entrance (start) or exit of a joker section in rally-cross (RX) circuits.
Macros§
- Prints a debug message to the log output.
- Prints an info message to the log output.
- Prints a generic message to the log output.
- Creates a new tile identifier.
- Prints a warning message to the log output.