mainmenu

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
krumzy
Posts: 23
Joined: Wed Aug 01, 2012 10:13

mainmenu

Post by krumzy » Fri Aug 24, 2012 3:45

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.

krumzy
Posts: 23
Joined: Wed Aug 01, 2012 10:13

Re: mainmenu

Post by krumzy » Thu Aug 30, 2012 4:09

27 views and no replies :|

User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: mainmenu

Post by Kappes Buur » Thu Aug 30, 2012 4:35

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.

krumzy
Posts: 23
Joined: Wed Aug 01, 2012 10:13

Re: mainmenu

Post by krumzy » Thu Aug 30, 2012 8:40

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.

User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Re: mainmenu

Post by Nash » Thu Aug 30, 2012 13:02

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

Locked

Return to “GZDoom”