UrqW Game Development Guide

(This material is part of the documentation for UrqW version 2.0. There are versions of the documentation in other languages that may be more complete and up-to-date.)

Attention! This material is under development.

Tutorials

URQL Reference

Data types

Variables

Operators

Conditional Statements

Keyword Reference

System Variables Reference

System Constructs Reference

Function Reference

Function Description
Abs Calculates the absolute value of a number.
ArrayAdd Adds the element or elements to the array.
ArrayCopy Creates a completely independent copy of the array.
ArrayCreate Creates an array of the specified length or based on JSON.
ArrayDel Deletes the element or elements from the array.
ArrayGet Returns the element from the array.
ArrayLen Returns the number of elements in the array.
ArraySet Sets the value of the element in the array.
ArrayShuffle Shuffles an array using the Fisher-Yates algorithm.
Boolean Returns the boolean representation of a value.
Ceil Returns a number rounded up to the next integer.
Date Returns a timestamp of the current or specified time.
DateObject Returns an object with date information.
Exp Calculates e to the power of a number.
FileContent Returns the text content of a file from a game package.
FileExists Checks if a file exists in a game package.
FileURL Returns the relative URL of a file from a game package.
Floor Returns a number rounded down to the closest integer.
Int Returns the integer part of a number by removing any fractional digits.
IsArray Checks whether a value has the reference type array.
IsBoolean Checks whether a value has the primitive type boolean.
IsFinite Checks whether the value is a finite number.
IsInteger Checks whether a value is an integer.
IsNaN Checks whether a value is NaN.
IsNumber Checks whether a value has the primitive type number.
IsObject Checks whether a value has the reference type object.
IsString Checks whether a value has the primitive type string.
JavaScript Executes JavaScript code.
Log Calculates the natural logarithm of a number.
Log10 Calculates the common (decimal) logarithm of a number.
Log2 Calculates the binary logarithm of a number.
Max Returns the largest of the passed numbers.
Min Returns the smallest of the passed numbers.
Number Returns the number representation of a value.
ObjectCopy Creates a completely independent copy of the object.
ObjectCreate Creates an object: either empty or based on JSON.
ObjectDel Deletes a property (key-value pair) from the object.
ObjectEntries Returns an array of object properties (key-value pairs).
ObjectGet Returns a value of the property (key) from the object.
ObjectKeys Returns an array of object property names (keys).
ObjectSet Sets the value of the property (key) in the object.
ObjectValues Returns an array of object property values.
Pow Calculates a number to a power.
Round Returns a number rounded to the specified number of decimal places.
Sqrt Calculates the square-root of a number.
String Returns the string representation of a value.
StringLeft Returns a number of characters from the left-hand side of the string.
StringLen Returns a number of characters in the string.
StringLocaleLower Converts the string to lowercase using locale-specific rules.
StringLocaleUpper Converts the string to uppercase using locale-specific rules.
StringLower Converts the string to lowercase.
StringMid Extracts a number of characters from the string.
StringRight Returns a number of characters from the right-hand side of the string.
StringSplit Splits up the string into substrings depending on the given delimiter.
StringTrim Trims whitespace characters or a number of characters from the beginning and end of the string.
StringTrimLeft Trims either whitespace characters or a number of characters from the left hand side of the string.
StringTrimRight Trims either whitespace characters or a number of characters from the right hand side of the string.
StringUpper Converts the string to uppercase.
TypeOf Returns the type of a value.
UIHide Hides and shows the player’s UI controls.
VarExists Checks if a variable exists (is defined).

Abs

ArrayAdd

ArrayCopy

ArrayCreate

ArrayDel

ArrayGet

ArrayLen

ArraySet

ArrayShuffle

Boolean

Ceil

Date

DateObject

Exp

FileContent

FileExists

FileURL

Floor

Int

IsArray

IsBoolean

IsFinite

IsInteger

IsNaN

IsNumber

IsObject

IsString

JavaScript

Log

Log10

Log2

Max

Min

Number

ObjectCopy

ObjectCreate

ObjectDel

ObjectEntries

ObjectGet

ObjectKeys

ObjectSet

ObjectValues

Pow

Round

Sqrt

String

StringLeft

StringLen

StringLocaleLower

StringLocaleUpper

StringLower

StringMid

StringRight

StringSplit

StringTrim

StringTrimLeft

StringTrimRight

StringUpper

TypeOf

UIHide

VarExists

Copyright � 2026 Nikita Tseykovets

The document is available under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.