Div Games Online
logo Div Games Online

Documentation: Functions list of Div GO : Div Games Online v2.04.2

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:  

8 original functions (Div / Div 2):

get_song_line();see example
[returns the line number of the musical module]
get_song_pos();see example
[returns the current position of the musical module which is being played]
is_playing_song();see example
[returns 0 if the sound module is stopped and 1 if it is playing]
load_song(filename, cyclic);see example
- cyclic: 0 to beep 1 time; 1 to ring being repeated indefinitely
set_song_pos(position of the module);
[fixes the position of the music module playback (the "pattern" number)]
song(identifier of the module);see example
stop_song();see example
unload_song(identifier of the module);see example