Div Games Online
logo Div Games Online

Documentation: Functions list of Div GO : Div Games Online v1.54.0

all functions (Div / Div 2 / Div GO) original functions (Div / Div 2) new functions (Div GO)
filter functions:
[math] [graphics primitives] [string] [print text] [interaction processes] [scroll] [mode7] [scene3D] [graphic effects] [sound] [video] [geometric] [pathfinding] [color] [region] [general interaction program] [date/time] [saved data] [string conversion] [resource load] [music module] [array functions] [websocket]
search functions:  

6 original functions (Div / Div 2):

change_sound(channel id, volume, frequency);
is_playing_sound(channel id);
[returns 0 if the sound channel is stopped and 1 if it is playing]
set_volume(volume);
- volume: 0-100 to increase or decrease the overall volume of the game
sound(sound id, volume, frequency);
- sound id: returned by the sound file loaded with load_sound ()
- volume: 0 for minimum volume, maximum volume to 256
- frequency: 256 is the standard rate
stop_sound(channel id);
unload_sound(sound id);