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: 315
Joined: Wed Oct 30, 2013 8:59 pm

GOOi, an Android-Oriented GUI Library

Post by alberto_lara » Sat Feb 28, 2015 5:06 pm

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 Wed Sep 06, 2017 11:38 pm, edited 63 times in total.
LÖVE Projects: GOOi, Süsse, Dyzön and Katsudö
Thanks for taking the time and read this

User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: GUI for Android

Post by I~=Spam » Tue Mar 03, 2015 1:12 am

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: 122
Joined: Tue Jan 15, 2013 5:55 am

Re: GUI for Android

Post by norubal » Tue Mar 03, 2015 2:07 am

If this library support multilingual, I will hug you :3

User avatar
alberto_lara
Party member
Posts: 315
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara » Tue Mar 03, 2015 4:03 pm

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.
LÖVE Projects: GOOi, Süsse, Dyzön and Katsudö
Thanks for taking the time and read this

User avatar
alberto_lara
Party member
Posts: 315
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara » Wed Mar 04, 2015 4:07 am

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.
LÖVE Projects: GOOi, Süsse, Dyzön and Katsudö
Thanks for taking the time and read this

User avatar
norubal
Party member
Posts: 122
Joined: Tue Jan 15, 2013 5:55 am

Re: GUI for Android

Post by norubal » Thu Mar 05, 2015 1:11 pm

I hope this library can support chars like ñ, so I can print something like "Здравствуите".

User avatar
alberto_lara
Party member
Posts: 315
Joined: Wed Oct 30, 2013 8:59 pm

Re: GUI for Android

Post by alberto_lara » Sat Mar 07, 2015 5:28 am

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!
LÖVE Projects: GOOi, Süsse, Dyzön and Katsudö
Thanks for taking the time and read this

User avatar
norubal
Party member
Posts: 122
Joined: Tue Jan 15, 2013 5:55 am

Re: Tavo's GUI for Android

Post by norubal » Sat Mar 07, 2015 7:06 am

사랑합니다! I LOVE YOU! :awesome:

Germanunkol
Party member
Posts: 704
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Tavo's GUI for Android

Post by Germanunkol » Sat Mar 07, 2015 7:54 am

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: 315
Joined: Wed Oct 30, 2013 8:59 pm

Re: Tavo's GUI for Android

Post by alberto_lara » Sun Mar 08, 2015 12:49 am

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

To Germanunkol, you're totally right, I almost forget the polygons, let me try that!
LÖVE Projects: GOOi, Süsse, Dyzön and Katsudö
Thanks for taking the time and read this

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests