hi,
i need your opinion on this
the question maybe very noob-ish but really what is the best ui library for a simple mobile game
i have tried libs like Suit - missing onButtonPressed function which is very important for my game
Gooi - uses too much cpu if it draws over gamescene
Easy GUI System - seems like having conflict when using with hump.gamestate , so im forced to use it only for for main menu state
and i am struggling to use this simple lib from https://github.com/tjakka5/Dabuton for button but even this is unmaintained and outdated
i am wasting much time trying to setup a simple and lightweight buttons / labels , and i would waste even more if i try to write my own lib
so if there is anyone who walked this trail before me share your opinion please
loveu2
Last edited by crystal on Sun Oct 01, 2017 1:41 am, edited 1 time in total.
crystal wrote: ↑Sat Sep 30, 2017 10:26 pmSuit - missing onButtonPressed function which is very important for my game
Wait... what? There's a UI lib that doesn't provide a way to subscribe to button events?
ok, ok i typed that in hurry i said its a noob question and i should delete that cuz of google search
although i couldn't get it to work
can you help me then with 'suit' i am pretty new to lua and love2d
from the source i see only these connectors
hit
hovered
entered
left
and my game needs a single action execution as soon as user puts a finger on a button
Hi crystal:
I use Suit for my hobby work too. Suit is more a ui-skeleton than a complete ui with well defined look and feel. It gives you the fredom to design your ui like you want. You should shurly give Suit a try.
crystal wrote: ↑Sun Oct 01, 2017 2:00 am
ok, ok i typed that in hurry i said its a noob question and i should delete that cuz of google search
although i couldn't get it to work
can you help me then with 'suit' i am pretty new to lua and love2d
from the source i see only these connectors
hit
hovered
entered
left
and my game needs a single action execution as soon as user puts a finger on a button
suit is an immediate mode UI and doesn't work using callbacks. 'hit' is used for exactly what you want.