gui
Methods
rgb_to_hsv
Returns the hsv representation of the provided values
hsv_to_rgb
Returns the rgb representation of the provided values
get_window_size
Returns the width and height of the game window's client area
get_text_size
Returns the width and height of the provided text
draw_line
Draws a line using the provided parameters
Coordinates must be within the game window's client area
draw_text
Draws text using the provided parameters
Coordinates must be within the game window's client area
draw_rect
Draws a rect using the provided parameters
Coordinates must be within the game window's client area
draw_rect_filled
Draws a filled rect using the provided parameters
Coordinates must be within the game window's client area
draw_circle
Draws a circle using the provided parameters
Coordinates must be within the game window's client area
draw_circle_filled
Draws a filled circle using the provided parameters
Coordinates must be within the game window's client area
draw_triangle
Draws a triangle using the provided parameters
Coordinates must be within the game window's client area
draw_triangle_filled
Draws a filled triangle using the provided parameters
Coordinates must be within the game window's client area
draw_polygon
Draws a polygon using the provided parameters
Coordinates must be within the game window's client area
draw_polygon_filled
Draws a filled polygon using the provided parameters
Coordinates must be within the game window's client area