Description

In making a game, sometimes we need a user interface to control menu, input data form and data or just to displays a message.

HANIF FLAT UI is an extension for Game Maker: Studio that written in GML (Game Maker Language). This extension contains several functions and macros that can help developers to create user interface components such as button, textbox, checkbox, radio button, etc.

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.

The controls in this extension include:

  • Button
  • Textbox
  • Checkbox
  • Radio Button
  • Switch
  • Select
  • Range Bar
  • Tab
  • SideNav
  • Virtual Keyboard

Write code with handler (on create event):

editField = ui_textbox_create(16, 16, 320, 24, "Fill this");
ui_set_background_colour(editField, ui_grey);

Finally draw it (on draw event):

ui_textbox_draw(editField);

You can read the documentation here: https://hanif222.gitbooks.io/hanif-flat-ui-eng/content/.

Original Indonesian version: https://hanif222.gitbooks.io/hanif-flat-ui-ind/content/.

Warning: too many control may make apps running slow.

To handling animation when running on lag or slowness devices, this may be help (on step event):

if (fps_real < 100)
{
    ds_map_replace(ui_global_config, "effect_speed", 8 * (room_speed * delta_time / 1000000));
}

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.3.1. Published November 7, 2017

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top