Multiresolution game menu

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Multiresolution game menu

Post by darkfrei »

Hi all!

Here is an example how the main menu can be done.

Features:
some buttons are clickable
button texts change fonts automatically
multiline buttons are ok
Native resolution (800x600)
Native resolution (800x600)
2021-08-09T22_45_11-Untitled.png (57.33 KiB) Viewed 8097 times
Portrait
Portrait
2021-08-09T22_45_20-Untitled.png (101.8 KiB) Viewed 8097 times
main-menu-02.love
(31.91 KiB) Downloaded 267 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Re: Multiresolution game menu

Post by darkfrei »

Now you can choose the window size from standard fullscreen modes.
Attachments
2021-08-10T21_55_44-Untitled.png
2021-08-10T21_55_44-Untitled.png (168.4 KiB) Viewed 8037 times
main-menu-03.love
(32.18 KiB) Downloaded 222 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
monolifed
Party member
Posts: 188
Joined: Sat Feb 06, 2016 9:42 pm

Re: Multiresolution game menu

Post by monolifed »

nice
Last edited by monolifed on Thu Aug 12, 2021 6:02 pm, edited 1 time in total.
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Re: Multiresolution game menu

Post by darkfrei »

Fixed wrong font size on huge resolution displays (4K).
Inactive buttons have gray texts.
Background color changes on buttons too.
Attachments
4K windowed
4K windowed
2021-08-12T14_05_10-Untitled.png (768.88 KiB) Viewed 7945 times
main-menu-04.love
(31.16 KiB) Downloaded 214 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Re: Multiresolution game menu

Post by darkfrei »

Here is a next version:

implemented base game field, with grid and polygon.

Game buttons are selectable, "quit" button works and moves back to main menu. The button "New game" will be replaced to "Continue game".
Attachments
2021-08-15T16_25_08-Untitled.png
2021-08-15T16_25_08-Untitled.png (104.91 KiB) Viewed 7596 times
main-menu-06.love
(37.81 KiB) Downloaded 229 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
dusoft
Party member
Posts: 492
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Multiresolution game menu

Post by dusoft »

Very cool!
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

Re: Multiresolution game menu

Post by pgimeno »

By the way, the place for this is the "Libraries and Tools" forum, not the "Games and Creations" forum.
Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests