Probably the most important update yet!
The graphics engine has now been updated to be fully integrated with the rendering engine.
Basically everything graphics related should be significantly more optimized.
As such all previous graphics functions have been removed/updated.
New functions:
// Pen/Drawing
gfx.add_dot(id,x,y,size,r,g,b,alpha)
gfx.add_line(id,x1,y1,x2,y2,size,r,g,b,alpha)
gfx.add_poly(id,x,y,size,rotation,sides,quality,r,g,b,alpha)
gfx.remove(id)
gfx.replace(id)
// Text
gfx.add_text(id,text,x,y,size,angle,alignment,curve,padding,r1,g1,b1,outline,r2,g2,b2,rainbow,rainow_outline)
gfx.remove_text(id)
gfx.replace_text(id)
// OS Options
gfx.text_enabled(0/1) // Toggles text visibility
gfx.type_enabled(0/1) // Toggles typing cursor visibility
gfx.text_enabled(0/1) // Toggles line numbers/bg lines
Documentation will now be the main focus until I feel everything is well explained.
0 comments