Properties:
Name | Type | Description |
---|---|---|
projectName |
SystemLang | The project name |
antialias |
boolean | Indicate if there is antialiasing |
mountainCollisionHeight |
number | The height limit for collision |
mountainCollisionAngle |
number | The angle limit for collision |
mapFrameDuration |
SystemValue | Time in milliseconds for a frame in map |
idMapStartHero |
number | Id of the map where the hero is in the beginning of a game |
idObjectStartHero |
number | Id of the object where the hero is in the beginning of a game |
showBB |
boolean | Indicate if the collision boxes |
itemsTypes |
Array.<string> | List of all the types of items by ID |
colors |
Array.<SystemColor> | List of all the colors by ID |
currencies |
Array.<SystemCurrency> | List of all the currencies by ID |
windowSkins |
Array.<SystemWindowSkin> | List of all the windowSkins by ID |
cameraProperties |
Array.<SystemCameraProperties> | List of all the camera properties by ID |
detections |
Array.<SystemDetection> | List of all the detections by ID |
skyboxes |
Array.<SystemSkybox> | List of all the skyboxes by ID |
fontSizes |
Array.<number> | List of all the font sizes by ID |
fontNames |
Array.<string> | List of all the font names by ID |
speeds |
Array.<number> | List of all the speeds by ID |
frequencies |
Array.<number> | List of all the frequencies by ID |
soundCursor |
SystemPlaySong | The cursor sound |
soundConfirmation |
SystemPlaySong | The confirmation sound |
soundCancel |
SystemPlaySong | The cancel sound |
soundImpossible |
SystemPlaySong | The impossible sound |
dbOptions |
EventCommand | The window box options |
Methods
-
Read the JSON file associated to system
-
Update the RPM.modelHero global variable by loading the hero model
-
Load the window skins pictures
-
Get the default array currencies for a default game
Returns:
Type Description Array.<number> -
getWindowSkin ()SystemWindowSkin
-
Get the current system window skin
Returns:
Type Description SystemWindowSkin