Resources for how to edit main menu?

leiget
New member
 
Posts: 4
Joined: Thu Sep 03, 2015 22:20

Resources for how to edit main menu?

by leiget » Thu Sep 03, 2015 22:23

Hi, I'm new. I was wanting to know if there are any resources for changing the look of the main menu, like how to make "Singleplayer, "Multiplayer", etc. tabs into buttons on the left of the screen, like with Freeminer. I've looked and used search on the dev wiki and didn't find anything. The closest I got was http://dev.minetest.net/formspec.
 

User avatar
benrob0329
Member
 
Posts: 1319
Joined: Thu Aug 06, 2015 22:39
Location: Michigan
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03

Re: Resources for how to edit main menu?

by benrob0329 » Fri Sep 04, 2015 00:16

The main menu isn't customisable without editing the Lua code in the builtin directory.
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA
 

Red2
New member
 
Posts: 4
Joined: Fri Sep 04, 2015 21:39
GitHub: red-001
IRC: red1

Re: Resources for how to edit main menu?

by Red2 » Fri Sep 04, 2015 22:40

You would have edit the lua files in /builtin/mainmenu.
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: Resources for how to edit main menu?

by blert2112 » Fri Sep 04, 2015 23:18

See ... /your_minetest_folder/doc/menu_lua_api.txt
 

leiget
New member
 
Posts: 4
Joined: Thu Sep 03, 2015 22:20

Re: Resources for how to edit main menu?

by leiget » Fri Sep 04, 2015 23:29

Okay, thank you guys. I've been looking at the code in the builting directory and also the api documentation, and right now I'm trying to find out sinply move the header picture over to the right a little.
 

leiget
New member
 
Posts: 4
Joined: Thu Sep 03, 2015 22:20

Re: Resources for how to edit main menu?

by leiget » Sun Sep 06, 2015 20:28

Been looking at the code more, and went into the C++ code to look around, and I've just barely started started. I'm trying to customize all of MineTest, just because, and it's been pretty hard finding out how to do simple things like make a menu on the left side of the screen, like in FreeMiner.

I've found that "guiEngine.cpp" has a lot of important stuff, but I'm still not sure how to go about making a button menu on the left side of the screen. It seems that MineTest isn't really made for that, so it looks like I'm going to have to make my own functions, and what not, and try to integrate them into what MineTest already has.
 

User avatar
benrob0329
Member
 
Posts: 1319
Joined: Thu Aug 06, 2015 22:39
Location: Michigan
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03

Re: Resources for how to edit main menu?

by benrob0329 » Sun Sep 06, 2015 21:35

Well, I'd love to see a customisable menu get added to MT, would you do a pull request if you can figure it out?
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA
 


Return to General Discussion



Who is online

Users browsing this forum: MSN [Bot], ShadMOrdre and 24 guests