Possible to customize GUIs?

Post Reply
subtra3t
New member
Posts: 6
Joined: Tue Jun 07, 2022 14:38
GitHub: subtra3t
In-game: subtra3t

Possible to customize GUIs?

by subtra3t » Post

Is it possible to customize the HUDs, GUIs, and fonts via a texture pack?

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Possible to customize GUIs?

by Linuxdirk » Post

Everything that has a texture defined can be changed by a texture pack.

The GUI itself is defined by code and cannot easily changed without access to the code (i.e. on an own server or in singleplayer where you can control the code and mods.)

The font type and size can be configured using the font configuration options in minetest.conf.

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: Possible to customize GUIs?

by rubenwardy » Post

You need a mod to customise GUIs. You can use formspec prepend and styling (style[)
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
sirrobzeroone
Member
Posts: 593
Joined: Mon Jul 16, 2018 07:56
GitHub: sirrobzeroone
Contact:

Re: Possible to customize GUIs?

by sirrobzeroone » Post

I haven't finished the games these gui's are attached too, but the left gui works well the right one with the asymetric style works okay although you have to do a little more with showing hiding the hotbar.

Both have been built ontop of sfinv and then some trickery with graphics. I'm not going to say it was easy but it can be done. The right one also closes up the side bar when not in creative....Hopefully I get the games finished one day....thats the hard bit.

Image
Attachments
gui_examples.png
gui_examples.png (325.78 KiB) Viewed 1434 times

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests