Basic knowledge

HANIF FLAT UI is not use sprites or background anymore, but it’s using built-in functions such as draw_rectangle(...), draw_circle(...) and others. This can reduced the performance of your game, especially in the use of memory, but on other side, you can reduce of resources uses. So use only as needed.

All controls such as button, textbox, checkbox, and others actually is a ds_map data structure, if you have knowledge about these ds_map functions, it will be better. You can even get controls properties with function like ds_map_find_value(...).

HANIF FLAT UI will automatically destroy the entire control or surface that has been made so you do not need to removing it manually with ds_map_destroy (...) and surface_free (...).

You can call ui_draw_all(); function in an object in Draw (Draw GUI) event so you do not have to bother to draw each of the controls.
You can use draw_set_circle_precision(precision); to set the precision of the arch.

results matching ""

    No results matching ""