[Solved] How to customize menu background?

Post Reply
User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

[Solved] How to customize menu background?

by Joseph16 » Post

I’m working on a subgame and I need to make the main menu have a custom background. I know how to do the main screen but I don’t know how to do custom loading bars and custom loading bar backgrounds. Can someone tell me how? I hope it’s possible!
Testin' mines since 1989

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: How to customize menu background?

by Joseph16 » Post

Wow nobody knows?
Testin' mines since 1989

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: How to customize menu background?

by rubenwardy » Post

https://github.com/minetest/minetest/bl ... pi.txt#L70

Games can provide custom main menu images. They are put inside a `menu` directory
inside the game directory.
The images are named `$identifier.png`, where `$identifier` is
one of `overlay,background,footer,header`.
If you want to specify multiple images for one identifier, add additional images named
like `$identifier.$n.png`, with an ascending number $n starting with 1, and a random
image will be chosen from the provided ones.
so games/subgamefolder/menu/background.png
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests