[Solved] How to customize menu background?
[Solved] How to customize menu background?
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
- rubenwardy
- Moderator
- Posts: 6978
- 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?
https://github.com/minetest/minetest/bl ... pi.txt#L70
so games/subgamefolder/menu/background.png
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.
Who is online
Users browsing this forum: No registered users and 2 guests