Div Games Online
logo Div Games Online

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

3 original functions (Div / Div 2):

delete_draw(draw id);see example
- all_drawing: with this constant value, delete of display all primitives graphical
draw(shape, color, opacity, region, x0, y0, x1, y1);see example
- shape:
1 = line
2 = rectangle
3 = rectangle filled
4 = ellipse
5 = ellipse filled
- color: hexadecimal or rgb(red, green, blue);
- opacity: 0 to 15 for opacity
- region: region number defined with define_region();
- x0: position x
- y0: position y
- x1: position final x, to the width
- y1: position final y, to the height
move_draw(identifier, color, opacity, x, y, width, height);