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:  

5 original functions (Div / Div 2):

advance(distance);see example
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