Lightui is a simple GUI system that makes it easy to add great looking menus and controls to your games.
Lightui Features
HTML5 Demo
http://rocketgears.com/lightui/demo/index.html
Documentation
http://rocketgears.com/lightui/documentation.html
Simple Menu Example
// Create the menu window container
with(lightui_create_window(noone, 250, 400, 320, 'MENU'))
{
// Create the play button
lightui_create_menu_button(noone, 50, 300, 'Play', 'test_play', menu_button_callback);
// Create the settings button
lightui_create_menu_button(noone, 130, 300, 'Settings', 'test_settings', menu_button_callback);
// Create the store button
lightui_create_menu_button(noone, 210, 300, 'Store', 'test_store', menu_button_callback);
}
Simple Settings Panel Example
// Create the lightui window
with(lightui_create_window(noone, 60, 500, 630, 'SETTINGS'))
{
// Create a toggle
lightui_create_toggle(60, 82, 1, 'test_toggle_1', settings_toggle_callback);
// Create a checkbox
lightui_create_checkbox(60, 250, 1, 'Item \#1', 'test_checkbox_1', settings_checkbox_callback);
// Create a slider
lightui_create_slider(60, 370, 160, 50, 'test_slider_1', settings_slider_callback);
// Create a radio button group
lightui_create_radio(60, 490, 0, 'Low', 'value_low', 'test_radio_1', settings_radio_callback);
lightui_create_radio(190, 490, 1, 'High', 'value_high', 'test_radio_1', settings_radio_callback);
}
End User Licence Agreement (EULA).
The 1.5.0 release contains minor updates based on feedback from users.
If you encounter any issues please report them: https://marketplace.yoyogames.com/publishers/753/daniel-mccoy/contact?asset=1512