Hello everyone, while working on UI/UX for games, I stumbled upon the "Library/ui" folder which contains a variety of components like Buttons, Text, ScrollList, DropDown, and even a Calendar. So, I'm starting this thread hoping to engage with you all about Gideros' GUI system. I believe many of you might be interested as well. Please share any examples and questions related to this built-in UI and Layout system. I find its architecture and code quite lightweight, and with comprehensive documentation and examples, it has great potential!
@hgy29 I hope that when you have the time, you will post some small examples and tutorials about this system so that everyone can use it and make it more popular!
I now start reading setLayouttConstraints/ setLayoutParameters in
https://wiki.gideros.rocks/index.php/Sprite:setLayoutConstraints
Comments
Likes: vitalitymobile, MoKaLux
First of all, in order to use Gideros UI Library (GUIL ?) you have to link two folders to your project: Library/ui and Library/luashaders from your Gideros installation (GUIL depends on luashaders).
Now a first example to make a very simple Button:
Likes: MoKaLux, vitalitymobile
Likes: MoKaLux, vitalitymobile
Likes: MoKaLux, vitalitymobile
Likes: MoKaLux, pie, vitalitymobile
For this to work you'll have to use a TTF font (it doesn't work well with gideros embedded font).
In init.lua:
Likes: MoKaLux, pie, vitalitymobile