User Guide
Some of the available functions
As for actions and conditions, we are not going to review all the available functions of all the
objects: refer to the electronic documentation for an exhaustive list.
Special object functions
• Generate a random number, =Random( X ). This function, very important for games, will
return a random number ranging from 0 and to X-1. X must be lower than 32768.
• Retrieve a global value. Returns the value of a global value.
• Retrieve a global string. Returns the content of a global string.
Storyboard object functions
• Current number of frame. Returns the number of the current frame.
• Frame / Width. Returns the width in pixels of the frame.
• Frame / Height. Returns the height of the frame in pixels.
Mouse pointer and keyboard object
• Current X Position of the mouse. Returns the horizontal position of the mouse in the
frame. This co-ordinate can be negative or larger than the width of the frame if the mouse
pointer is outside of the frame.
• Current Y Position of the mouse. Same as above, but vertically.
Timer object functions
• Timer count, in 1/1000 since start of frame. As its name indicates…
• Timer count, hours / minutes / seconds / 1/100. Returns the value of the timer since the
start of the frame.
Create object functions
• Total number of objects. Returns the count of all the objects in the frame. Useful for
debugging your application.
Player object functions
• Current value of score. Returns the score of the player.
• Current number of lives. Returns the number of lives of the player.
60