Hey folks, building my first Love game and it's going fairly well so far. Now I'm looking for a good GUI system, and keyboard support is essential for me. Gamepad support would be nice too, but should follow nicely from keyboard support.
I'm fairly new to Lua. I've looked through every UI I've found on the wiki and Awesome list, but either I can't find anything with good keyboard support or I don't know what I'm looking at.
I define good keyboard support as the ability to tab/arrow through UI elements and to manipulate them with the keyboard. I'd also like something with at least menus, buttons, and sliders.
Does anything out there provide this support?
If not, is there a UI option that would probably be a better fit? I imagine I'll have to hack in my own keyboard handlers in love.keypressed and such. I started attempting this with LoveFrames by manually moving the mouse into the click bounds of UI elements to trigger hover behavior, but I'm having some issues where menu dimensions don't appear to get set, which I may post about in another thread. There are so many UI options and I'm not knowledgable about which is the most advanced or well-maintained, so any pointers would be helpful. Nuklear doesn't appear to have any keyboard support at all, and I suspect that would be true of most immediate-mode UIs (or, at least, I wouldn't be able to monkeypatch keyboard support to fill any gaps.)
Thanks for the help.
GUI with good keyboard/gamepad support?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: GUI with good keyboard/gamepad support?
I think Luigi meets the requisites. Not sure of the current status of it though. Edit: It seems updated to 11.1.
- CrimsonGuy
- Prole
- Posts: 48
- Joined: Thu Apr 04, 2019 3:32 pm
Re: GUI with good keyboard/gamepad support?
I'd been using love-nuklear this last few days and it seems super nice and complete.
The binding for Love
https://github.com/keharriso/love-nuklear
The original repo in C you can check images of what the library is capable of to.
https://github.com/vurtun/nuklear/tree/ ... b844e613b6
The binding for Love
https://github.com/keharriso/love-nuklear
The original repo in C you can check images of what the library is capable of to.
https://github.com/vurtun/nuklear/tree/ ... b844e613b6
Re: GUI with good keyboard/gamepad support?
Thanks for the praise, but love-nuklear doesn't do keyboard/gamepad support very well. You'd have to roll your own support by editing the nuklear source code or making complicated custom widgets. This issue describes the problem (zahnrad is the old name for nuklear).CrimsonGuy wrote: ↑Sun Apr 07, 2019 8:38 pm I'd been using love-nuklear this last few days and it seems super nice and complete.
The binding for Love
https://github.com/keharriso/love-nuklear
The original repo in C you can check images of what the library is capable of to.
https://github.com/vurtun/nuklear/tree/ ... b844e613b6
Last edited by keharriso on Sun Apr 07, 2019 11:13 pm, edited 1 time in total.
LÖVE-Nuklear - a lightweight immediate mode GUI for LÖVE games
Re: GUI with good keyboard/gamepad support?
Yes, so far it's working well! Thanks, I'd seen Luigi but was kind of suffering from UI evaluation fatigue at that point. I now have my basic UI in place, and keyboard navigation seems to be working more closely to what I'd like.
- CrimsonGuy
- Prole
- Posts: 48
- Joined: Thu Apr 04, 2019 3:32 pm
Re: GUI with good keyboard/gamepad support?
Lol didnt notice you were the one behind love-nuklear, guess ill have to pay more attention to usernames from now on, great job with the library.keharriso wrote: ↑Sun Apr 07, 2019 9:49 pmThanks for the praise, but love-nuklear doesn't do keyboard/gamepad support very well. You'd have to roll your own support by editing the nuklear source code or making complicated custom widgets. This issue describes the problem (zahnrad is the old name for nuklear).CrimsonGuy wrote: ↑Sun Apr 07, 2019 8:38 pm I'd been using love-nuklear this last few days and it seems super nice and complete.
The binding for Love
https://github.com/keharriso/love-nuklear
The original repo in C you can check images of what the library is capable of to.
https://github.com/vurtun/nuklear/tree/ ... b844e613b6
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Google [Bot], slime and 3 guests