GOOi, an Android-Oriented GUI Library

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

GOOi, an Android-Oriented GUI Library

Post by alberto_lara »

Hi guys, This is a GUI Library I'm making named GOOi. Please feel free to take a look.
Image

We can use:
  • Labels
  • Buttons
  • Sliders
  • Checkboxes
  • Text fields
  • Radio Buttons
  • Progress bars
  • Joysticks
  • Spinners
  • Tooltips
  • Knobs
  • Panels
  • Grid layout
  • Game layout
  • Modals
It features:
  • Multitouch support
  • Multilingual support
  • Grid layout and Game layout support
  • Usable on PC as well
  • Flexible API
  • Flexible shapes and colors
  • Easy theme system
GÖÖi repo:

https://github.com/tavuntu/gooi
Last edited by alberto_lara on Mon Apr 22, 2019 6:26 pm, edited 65 times in total.
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: GUI for Android

Post by I~=Spam »

This is great! :awesome: My favorite thing it that the gui seems to properly scale on changes in pixel density.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
User avatar
norubal
Party member
Posts: 137
Joined: Tue Jan 15, 2013 5:55 am

Re: GUI for Android

Post by norubal »

If this library support multilingual, I will hug you :3
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara »

Hey, thanks for your comments, to I~=Spam, the scale is not an automated thing, I'm just getting bounds which will be sort of the same independently of the window resolution :), though, I'm thinking on adding a viewport coordinates "mode" for the gui, so you can say "I want this button on the half width" by putting just 0.5 on the component's X value. I'm also thinking on adding aspect-ratio support for this... not sure if that can be useful but I'm open to suggestions.

To norubal, excuse my ignorance but I'm not sure what you mean (more like I don't know what is it) by multilingual, I'm googling that.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara »

I just put the .love file instead of the link to MEGA... you can call me stupid, I didn't know how to do it.

The .love file it's the same as the link, but I have another version of this in the office, the multitouch support seems to be going well, after doing that, I'll put the viewport thing, upload another demo(s) and let you know anything as far as I have a chance.
User avatar
norubal
Party member
Posts: 137
Joined: Tue Jan 15, 2013 5:55 am

Re: GUI for Android

Post by norubal »

I hope this library can support chars like ñ, so I can print something like "Здравствуите".
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara »

norubal wrote:I hope this library can support chars like ñ, so I can print something like "Здравствуите".
Just updated the post, you can hug me now!
User avatar
norubal
Party member
Posts: 137
Joined: Tue Jan 15, 2013 5:55 am

Re: Tavo's GUI for Android

Post by norubal »

사랑합니다! I LOVE YOU! :awesome:
Germanunkol
Party member
Posts: 712
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Tavo's GUI for Android

Post by Germanunkol »

If you use love.graphics.polygon instead of beziers, you can get the shapes to look almost the same, with less calculation. I found they look quite good with just a few points. Of course, you'll need to do some more math yourself, to place the points. Simply generate the list of points every time you create a new button (or change its size), then call love.graphics.polygon on that list when drawing the button.
Bezier curves are really cool, but they seem very overkill for a GUI.
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Tavo's GUI for Android

Post by alberto_lara »

norubal wrote:사랑합니다! I LOVE YOU! :awesome:
Thanks for that :)

To Germanunkol, you're totally right, I almost forget the polygons, let me try that!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests