{"id":26102454,"url":"https://github.com/sience/luis_samples","last_synced_at":"2025-07-09T19:40:14.548Z","repository":{"id":279089362,"uuid":"937664102","full_name":"SiENcE/luis_samples","owner":"SiENcE","description":"SAMPLES for LUIS. LUIS (Love UI System) is a flexible graphical user interface (GUI) framework built on top of the Löve2D game framework. LUIS provides developers with the tools to create dynamic, grid-centric, layered user interfaces for games and applications.","archived":false,"fork":false,"pushed_at":"2025-03-08T21:44:14.000Z","size":2852,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T22:25:37.155Z","etag":null,"topics":["framework","gui","love2d","love2d-framework","love2d-gui","love2d-library"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SiENcE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-23T16:06:05.000Z","updated_at":"2025-03-08T21:44:17.000Z","dependencies_parsed_at":"2025-02-23T18:35:53.437Z","dependency_job_id":null,"html_url":"https://github.com/SiENcE/luis_samples","commit_stats":null,"previous_names":["sience/luis_samples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiENcE%2Fluis_samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiENcE%2Fluis_samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiENcE%2Fluis_samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SiENcE%2Fluis_samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SiENcE","download_url":"https://codeload.github.com/SiENcE/luis_samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242744064,"owners_count":20178171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","gui","love2d","love2d-framework","love2d-gui","love2d-library"],"created_at":"2025-03-09T19:41:35.896Z","updated_at":"2025-07-09T19:40:14.529Z","avatar_url":"https://github.com/SiENcE.png","language":"Lua","readme":"# LUIS: Love UI System - SAMPLES\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/logo_small.png\"\u003e\n  \u003cimg border=\"0\" src=\"https://github.com/SiENcE/luis/blob/main/assets/logo_small.png\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\n**LUIS** (Love User Interface System) is a flexible graphical user interface (GUI) framework built on top of the [Löve2D](https://love2d.org/) game framework. LUIS provides developers with the tools to create dynamic, grid-centric, layered user interfaces for games and applications.\n\n## LUIS: Samples\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/screenshots/Screenshot_2024-12-17.jpg\"\u003e\n  \u003cimg border=\"0\" style=\"max-width:100%; height:auto;\" src=\"https://github.com/SiENcE/luis/blob/main/assets/screenshots/Screenshot_2024-12-17.jpg\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003eFlexible Layout using FlexContainer with a couple of widgets.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.59.55.gif\"\u003e\n  \u003cimg border=\"0\" style=\"max-width:100%; height:auto;\" src=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.59.55.gif\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003eYou can see different layers, a custom widget within a Flex container, theming, and a variety of available widgets.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.49.44.gif\"\u003e\n  \u003cimg border=\"0\" style=\"max-width:100%; height:auto;\" src=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.49.44.gif\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003eVirtual gamepad integration made with LUIS.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-11-12_00.58.43.gif\"\u003e\n  \u003cimg border=\"0\" style=\"max-width:100%; height:auto;\" src=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-11-12_00.58.43.gif\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003eA LUIS UI-Editor made with LUIS.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.53.47.gif\"\u003e\n  \u003cimg border=\"0\" style=\"max-width:100%; height:auto;\" src=\"https://github.com/SiENcE/luis/blob/main/assets/recordings/Recording_2024-12-17_14.53.47.gif\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003e1-bit full adder node graph - created with LUIS Node Widgets.\u003c/em\u003e\n\u003c/p\u003e\n\n## Getting Started\n\n1. **Install Löve2D** (11.5): You can download Löve2D 11.5 from [here](https://love2d.org/).\n2. **Clone the LUIS Library**:\n    ```bash\n    git clone --recurse-submodules https://github.com/SiENcE/luis_samples.git\n    ```\n3. **Start the samples**:\n    ```lua\n    love luis_samples/\n    ```\n\n4. **Switch samples**:\n    Edit main.lua to switch look at different samples.\n\n## Features\n\n| Feature | Description |\n|---------|-------------|\n| Flexible Layout | Uses a grid-based system and FlexContainers for easy UI layout |\n| Layer Management | Support for multiple UI layers with show/hide functionality \u0026 Z-indexing for element layering |\n| Theme Support | Global theme customization, Per-widget theme overrides |\n| Customizable Theming | Easily change the look and feel of your UI elements |\n| Widget API | Core system for loading and managing widgets (widgets themselves are optional and loaded dynamically) |\n| Event Handling | Built-in support for mouse, touch, keyboard, and gamepad interactions \u0026 focus management |\n| Responsive Design | Automatically scales UI elements and interaction based on screen dimensions |\n| State Management | Tracks and persists element states to save and load configurations |\n| Extensibility | Modular design allowing easy addition of new widgets or removing unneeded widgets (see Widget Types section) |\n| Debug Mode | Toggle grid and element outlines for easy development |\n\n\n**Note**: These features are all part of the [LUIS core library](https://github.com/SiENcE/luis/tree/restructuring) (`core.lua`), which has **zero dependencies**! You can use the core library on its own and implement your own widgets for a lightweight UI system for [Löve2D](https://love2d.org/) without any additional dependencies.\n\n## Documentation\n\nFor more detailed information on the LUIS API, including layer management, input handling, theming, and state management, please refer to the [LUIS core documentation](https://github.com/SiENcE/luis/blob/restructuring/luis-api-documentation.md).\n\n## Dependencies\n\n- Löve2D: The game framework used for rendering and managing game objects.\n- The **core** library has **zero dependencies**, so you write your own widgets to have a lightweight ui system (see [basic_ui_sample](/samples/basic_ui/) ).\n\n## known Problems\n\n- DropBox: Selection with the gamepad-analogstick works not for all choices\n- FlexContainer - dropdown select is not possible via gamepad-analogstick\n- TextInput - when changing Theme, we have to adjust the fontsize in TextInput widgets\n- TextInputMultiLine doesn't support setConfig/getConfig\n\n## License\n\nThis project is licensed under the MIT License with additional terms - see the [LICENSE](LICENSE) file for details.\n**Important:** Use of this software for training AI or machine learning models is strictly prohibited. See the LICENSE file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsience%2Fluis_samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsience%2Fluis_samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsience%2Fluis_samples/lists"}