OK, the QuakeWorld HUD is going to get another change from the version as it appears in QW itself. There, the weapon icons are towards the bottom-right of the screen, but I'm moving them to top-right.
The reason why is the Hipnotic extra weapons. QW does not support these, and it's code has nothing to indicate how they should be handled.
Moving to top-right just makes the whole layout task a lot cleaner. Instead of having to detect if Hipnotic is active and shunt the positioning up about 32 pixels (it would actually be 36 because I space them out a little) you basically do absolutely nothing instead and It Just Works.
I had thought about adding an option for top-right vs bottom-right, but there is only so far you can go with the options, and if I start opening that door then everyone will want an option for their own favourite layout and we'll be right back with the mess we started with. "Can I have keys on the left, horizontally spaced by 2, stats on the bottom with no spacing, and ammo in middle-right, please?" The more options you add for little tweaks like that, the more untidy the code gets, and the more likely it is that the options will start to fight each other (I've already had a bad experience with the left-aligned classic status bar). That's in nobody's interest; I get annoyed working on the code and the engine starts doing strange things when you run it. Eventually we all agree that it was more trouble than it was worth, and it gets removed.
So let's try a strange experiment, bypass the painful stages, and start out with not doing it instead.
The same applies to the left-aligned inventory with the QW HUD; I'm not doing it for pretty much the same reason. I guess most NetQuake players aren't familiar with the QW HUD anyway, and many may not even know that it even exists in the first place, so maybe none of this will be that big a deal after all.
Wednesday, April 21, 2010
Change to the QuakeWorld HUD
Posted by
mhquake
at
5:00 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment