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:  

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

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
draw_stamp(draw id);see example
- all_drawing: with this constant value, delete of display all primitives graphical
gradient_draw(id, color, x0, y0, x1, y1);see example
- color: hexadecimal or rgb(red, green, blue);
move_draw(identifier, color, opacity, x, y, width, height);
shadow_draw(id, color, x, y, blur);see example
- color: hexadecimal or rgb(red, green, blue);
subtract_draw(id, x, y, width, height);