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?
GOOi, an Android-Oriented GUI Library
- Jack Dandy
- Prole
- Posts: 49
- Joined: Mon Sep 08, 2014 4:26 pm
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: GOOi, an Android-Oriented GUI Library
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.
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.
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: GOOi, an Android-Oriented GUI Library
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 this way you draw things on the same canvas you're using and it will scale along with your canvas resolution.
Code: Select all
gooi.setCanvas(yourCanvas)
- alberto_lara
- Party member
- Posts: 372
- Joined: Wed Oct 30, 2013 8:59 pm
Re: GOOi, an Android-Oriented GUI Library
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
Re: GOOi, an Android-Oriented GUI Library
Why?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
And will the new project be focused on mobile devices?
Who is online
Users browsing this forum: No registered users and 2 guests