Page 1 of 1
mainmenu
Posted: Fri Aug 24, 2012 3:45
by krumzy
I'm trying to make a simple test where the mainmenu buttons (newgame, options, loadgame...) are at the bottom of of the screen like doom 3 menu style, i have tried using menudef but I'm not sure I'm using it properly.
Re: mainmenu
Posted: Thu Aug 30, 2012 4:09
by krumzy
27 views and no replies

Re: mainmenu
Posted: Thu Aug 30, 2012 4:35
by Kappes Buur
I haven't experimented with creating a HUD myself and I only know of a handful of mappers who have been able to create a good one.
Your best bet is to go the ZDoom forum
http://forum.zdoom.org/ and type in the search term HUD.
Else check the ZDoom WIKI
http://zdoom.org/wiki/HUD and go from there.
Re: mainmenu
Posted: Thu Aug 30, 2012 8:40
by krumzy
I don't think HUD can customize the mainmenu, HUD only customizes stuff like health and armor display, ammo, messages, pictures and so on. So I'm not to sure if HUD is what I'm looking for. I have played a lot of wads and haven't seen any customization in the menus. All wads have the same layout... New game, Options, Load game, Save game and Quit game, all going down in the middle of the screen.
Re: mainmenu
Posted: Thu Aug 30, 2012 13:02
by Nash
http://zdoom.org/wiki/MENUDEF
You can't have aligned menus, the code will always weirdly offset the labels depending on resolution. So what looks flush left on your screen will be slightly offset to the center on other peoples' screens, etc.
Also the labels all have a top and left origin; again see above - you might be able to do a bottom-aligned menu (a la Doom 3) that will look right on your screen but totally mess up when the user uses a different aspect ratio than yours.
The menus are hard-coded to behave in a list-like fashion anyway, items go from top to bottom, so you can't do Doom 3 left-to-right menus anyway.
Lastly, the mouse collision boxes extend from the left; so if you do right-align menus, the menu will be selected even if your mouse is on the other side of the screen.
I've tried doing right-align main menus like in Fallout 3 and Skyrim; both aren't feasible.
Also this forum is dead, post on
http://zdoom.org/forum it's more active there