GOOi, an Android-Oriented GUI Library

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Jack Dandy
Prole
Posts: 49
Joined: Mon Sep 08, 2014 4:26 pm

Re: GOOi, an Android-Oriented GUI Library

Post by Jack Dandy »

I have a problem. I'm using GOOi to create a nice UI for my game.

https://love2d.org/imgmirrur/3s6aapx.png

Looks nice! I meant for it to be in the middle of the granite area to the right of the screen. Works good.

But when I switch to fullscreen, using a screen scaler library (specifically, lovesize. https://github.com/RicardoBusta/lovesize), it screws up the positioning, as seen below.

https://love2d.org/imgmirrur/K3kbApn.png

Any tips on how to fix this?
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GOOi, an Android-Oriented GUI Library

Post by alberto_lara »

I just can't believe I didn't answer this... sorry about that, I guess you don't even need an answer anymore? Please let me know what happened.

EDIT: Lol, I saw the date you joined the forum and thought it was your text date... so yes, I'll take a look at it as soon as I can.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GOOi, an Android-Oriented GUI Library

Post by alberto_lara »

I see, if I understand well, you are expecting some kind of responsiveness/scaling. If that's the case, then you must know that GOOi does not support such things. You may want to use a canvas for this and call

Code: Select all

gooi.setCanvas(yourCanvas)
this way you draw things on the same canvas you're using and it will scale along with your canvas resolution.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: GOOi, an Android-Oriented GUI Library

Post by alberto_lara »

Just to let you know GOOi won't be maintained anymore, I've started a new project as a "successor" https://github.com/tavuntu/urutora
azoyan
Prole
Posts: 25
Joined: Wed Dec 27, 2017 5:19 pm

Re: GOOi, an Android-Oriented GUI Library

Post by azoyan »

alberto_lara wrote: Sun May 31, 2020 9:19 pm Just to let you know GOOi won't be maintained anymore, I've started a new project as a "successor" https://github.com/tavuntu/urutora
Why?

And will the new project be focused on mobile devices?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests