How to make a main menu using HUMP?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 2
- Joined: Sat Dec 23, 2023 8:08 pm
How to make a main menu using HUMP?
Hi, I'm trying to make a menu to house all the simple stuff in my game (Start, Save/Load, Options, etc) using HUMP, but I don't exactly know where to start, it's been a while since I've done programming and I'm kinda new to LOVE and Lua, so any help would be appreciated, I've already gotten a simple movement and camera down.
Re: How to make a main menu using HUMP?
You don't specify which part of the hump lib you are using for your menu. It does not really make sense to use camera for menu. Although it's possible to create it that way, it's non standard at the best.
Check the UI libs that might help you laying out a menu:
https://github.com/love2d-community/awesome-love2d#ui
Or check my Layouter that does just that (as a grid layout system):
https://github.com/nekromoff/layouter
Check the UI libs that might help you laying out a menu:
https://github.com/love2d-community/awesome-love2d#ui
Or check my Layouter that does just that (as a grid layout system):
https://github.com/nekromoff/layouter
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
-
- Prole
- Posts: 2
- Joined: Sat Dec 23, 2023 8:08 pm
Re: How to make a main menu using HUMP?
Oh yeah, I've been using gamestate.lua, thought that would helpdusoft wrote: ↑Sat Dec 23, 2023 9:48 pm You don't specify which part of the hump lib you are using for your menu. It does not really make sense to use camera for menu. Although it's possible to create it that way, it's non standard at the best.
Check the UI libs that might help you laying out a menu:
https://github.com/love2d-community/awesome-love2d#ui
Or check my Layouter that does just that (as a grid layout system):
https://github.com/nekromoff/layouter
Re: How to make a main menu using HUMP?
Gamestate is cool and will work, but you still need some UI library to draw it. Gamestate wotks well for scene management, where one of the scenes is your menu.Rabbid4240 wrote: ↑Sat Dec 23, 2023 10:56 pmOh yeah, I've been using gamestate.lua, thought that would helpdusoft wrote: ↑Sat Dec 23, 2023 9:48 pm You don't specify which part of the hump lib you are using for your menu. It does not really make sense to use camera for menu. Although it's possible to create it that way, it's non standard at the best.
Check the UI libs that might help you laying out a menu:
https://github.com/love2d-community/awesome-love2d#ui
Or check my Layouter that does just that (as a grid layout system):
https://github.com/nekromoff/layouter
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 5 guests