Div Games Online
logo Div Games Online

Documentation: Functions list of Div GO : Div Games Online v1.20.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:  

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

advance(distance);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
fget_angle(x0, y0, x1, y1);
[returns the angle between point 0 (x0, y0) and point 1 (x1, y1)]
fget_dist(x0, y0, x1, y1);
[returns the distance between point 0 (x0, y0) and point 1 (x1, y1)]
near_angle(angle, final angle, increment);see example
xadvance(angle, distance);see example
- angle: from 0 to 360000