Skip to content

Lua framework for Mupen64 which allows flexible, highly customizable and straightforward creation of GUIs

License

Notifications You must be signed in to change notification settings

ShadoXFM/mupenluaUniversalGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mupen-Lua Universal GUI

Lua framework for Mupen64 which allows flexible, highly customizable and straightforward creation of GUIs

Examples

grafik

A button control

grafik

A textbox control in read-write mode

grafik

A non-staggering trackbar control

grafik

A joystick control in read-write mode

Inverted theme

Button highlights

Usage

NOTE: This project is not ready to use as a library

Adding a new scene

Add YourKey = Scene:new({ ... }) in the SceneManager.Initialize(...) call

Adding a new control

Modify the Controls = { ... } block inside your desired scene

Button

     Button:new(
         20, -- X Position
         VERTICAL_SAFE_ZONE*2, -- Y Position
         128, -- Width
         64, -- Height
         "button", -- Text (optional)
         function(sender) -- Click callback (sender is the control instance)
           print(sender.Text)
         end)

Features

  • Controls
    • Button
    • ToggleButton
    • TextBox
      • Read-only and Read-write mode
      • Relative editing mode
    • Slider
      • Minimum/Maximum bounds
      • Staggered increment
    • Joystick
      • Read-only and Read-write mode
    • Label
    • ListView
    • Image

About

Lua framework for Mupen64 which allows flexible, highly customizable and straightforward creation of GUIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages