Div Games Online
logo Div Games Online

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

original functions new functions
filter functions:
[ALL 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]
search functions:  

12 functions (Div / Div 2 / Div GO):

collision(process id or TYPE process name, precision);see example
- png, svg and gif with alpha channel
- precision (optional): 0 (inaccurate) to 10 (very accurate), default value 9
collision_box(process id or TYPE process name);see example
collision_circle(process id or TYPE process name);see example
constraint(id1, stop id1, id2, stop id2, distance, elasticity);see example
- id1: id of a process
- stop id1: true or false to set the id1 process regarding the process id2
- id2: id of the second process
- stop id2: true or false to set the id2 process regarding the process id1
- distance: distance between the two processes from its center point
- elasticity: the higher the number will be more elastic effect, 0 = not elastic
exists(process id or TYPE process name);see example
[returns TRUE or FALSE, if exists the process]
get_angle(process id);see example
get_dist(process id);see example
get_distx(angle, distance);see example
- angle: from 0 to 360000
get_disty(angle, distance);see example
- angle: from 0 to 360000
get_id(TYPE process name);see example
let_me_alone();see example
signal(process id or TYPE process name, signal);see example
- signal: s_kill, s_sleep, s_freeze, s_wakeup, s_kill_tree, s_sleep_tree, s_freeze_tree, s_wakeup_tree