So, I've made this GUI:
Now you can use buttons!
Help with GUI
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Help with GUI
- Attachments
-
- GUI-test-02.love
- (2.21 KiB) Downloaded 75 times
Re: Help with GUI
Nice work, glad you got it working
May I suggest you to look into using love.graphics.setScissor for the scrolling area? It will help you clip the top and bottom properly without the entries suddenly appearing or disappearing.
May I suggest you to look into using love.graphics.setScissor for the scrolling area? It will help you clip the top and bottom properly without the entries suddenly appearing or disappearing.
Re: Help with GUI
Thanks, I've never heard about it It was not obviously that I need to disable it and after first try I got some flickering/blinking.pgimeno wrote: ↑Mon Feb 15, 2021 12:20 pm Nice work, glad you got it working
May I suggest you to look into using love.graphics.setScissor for the scrolling area? It will help you clip the top and bottom properly without the entries suddenly appearing or disappearing.
Now works really smooth.
- Attachments
-
- GUI-test-03.love
- (2.29 KiB) Downloaded 76 times
Re: Help with GUI
Almost good. On the tablet:
Re: Help with GUI
Not so good as expected, smartphone:
Re: Help with GUI
How to disable top overlay on the Android? It closes 32 pixels at the top and it cuts some area at the bottom of display.
Re: Help with GUI
Ok, now it works also on the Android / Smartphone.
- Attachments
-
- GUI-test-05.love
- (2.52 KiB) Downloaded 78 times
Re: Help with GUI
Fullscreen, I believe.
Nice job!
Re: Help with GUI
Looks great. Is that a library or did you modify a library or just started from scratch?
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Re: Help with GUI
It's not a library, just code to understand all this features. Also you can use mouse wheel to move the slider
Who is online
Users browsing this forum: No registered users and 208 guests