The static class that defines utility methods.
Members
-
The name of the RPG Maker. "MZ" in the current version.
-
The version of the RPG Maker.
Methods
-
Checks whether the browser can play ogg files.
Returns:
Type Description boolean True if the browser can play ogg files. -
Checks whether the browser can play webm files.
Returns:
Type Description boolean True if the browser can play webm files. -
Checks whether the browser supports CSS Font Loading.
Returns:
Type Description boolean True if the browser supports CSS Font Loading. -
Checks whether the browser supports IndexedDB.
Returns:
Type Description boolean True if the browser supports IndexedDB. -
Checks whether the browser supports Web Audio API.
Returns:
Type Description boolean True if the browser supports Web Audio API. -
Checks whether the browser supports WebGL.
Returns:
Type Description boolean True if the browser supports WebGL. -
Checks whether the current RPG Maker version is greater than or equal to the given version.
Name Type Description version
string The "x.x.x" format string to compare.
Returns:
Type Description boolean True if the current version is greater than or equal to the given version. -
Checks whether the string contains any Arabic characters.
Returns:
Type Description boolean True if the string contains any Arabic characters. -
Decrypts encrypted data.
Name Type Description source
ArrayBuffer The data to be decrypted.
Returns:
Type Description ArrayBuffer The decrypted data. -
Encodes a URI component without escaping slash characters.
Name Type Description str
string The input string.
Returns:
Type Description string Encoded string. -
Escapes special characters for HTML.
Name Type Description str
string The input string.
Returns:
Type Description string Escaped string. -
Checks whether the audio files in the game are encrypted.
Returns:
Type Description boolean True if the audio files are encrypted. -
Checks whether the image files in the game are encrypted.
Returns:
Type Description boolean True if the image files are encrypted. -
Checks whether the browser is Android Chrome.
Returns:
Type Description boolean True if the browser is Android Chrome. -
Checks whether the browser is accessing local files.
Returns:
Type Description boolean True if the browser is accessing local files. -
Checks whether the platform is a mobile device.
Returns:
Type Description boolean True if the platform is a mobile device. -
Checks whether the browser is Mobile Safari.
Returns:
Type Description boolean True if the browser is Mobile Safari. -
Checks whether the platform is NW.js.
Returns:
Type Description boolean True if the platform is NW.js. -
Checks whether the option is in the query string.
Name Type Description name
string The option name.
Returns:
Type Description boolean True if the option is in the query string. -
Sets information related to encryption.
Name Type Description hasImages
boolean Whether the image files are encrypted.
hasAudio
boolean Whether the audio files are encrypted.
key
string The encryption key.