Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

HUD Revamp(ing)!

Sign in to follow this  


With the addition of the utility list on the right-hand side of the screen, things were starting to get a little hairy. For one, the framerate was going down the tube, and all of that text was starting to make the whole playing area feel really cluttered.

Here's a shot of the new HUD so far, which will likely see more changes in the near future. (Like a real artist to draw those boxes :P)

(Feels cleaner, don't it?)

Eventually the weapon-slot box at the top-left will have more information in it as I add more weapon data.

The main issue right now is that players won't know which guns are which, aside from guessing based on the weapon genre icon displayed. Anyone have any ideas on this? I want to avoid cluttering with text, so I'm thinking of having a unique icon for every item. Would this get unwieldy, or is it reasonable?

I also implemented score updates via the server. Now every 10 seconds or so (or when a client first joins) the servers sends out the kill/death/etc data on every player, to ensure that everyone has the proper score information displayed. Previously I'd get stuck in arguments with my testers (one in particular :P) about who was actually winning a battle. No more of that now. ;)

Another new quirk is that firing weapons now not only applies a recoil value to your crosshair/aim, but also pushes your player back via their velocity depending on the weapon's recoil. This idea was mainly spawned from the fact that some of my testers were able to win battles quite easily by simply facing the enemy and then charging at them with their weapon firing. By doing this, their charging speed will reduce greatly, and thus so will their maneuverability. Thus giving the stationary fellow an easier time in dispatching them. Thus creating a bit more strategy in the gameplay. :)

Next up on the Roadmap: Machineguns, Dual SMGs/Pistols, and Sniper Rifles!
Sign in to follow this  


Recommended Comments

Wow, that look awesome. The HUD looks very streamlined and polished, I love the minimap!

As for the weapons, I think as long as the little images were all different, and they appeared in the same order everytime, people would rememeber what was what.

In any case, it looks awesome, keep up the good work.

Share this comment

Link to comment
That screenshot looks really good!

About the GUI though, the easiest way that I can think of is to have the user assign a hotkey to the guns, that way they should know which one is which.

Share this comment

Link to comment
Are you using bitmap fonts or a font texture? I have found in my codebase, that using a font texture is fastest method for getting text on the screen.

Share this comment

Link to comment
@Sir Sapo: Weapons won't be in same order every time, depending on how the player sets up their weapon configuration. (Thanks for the positive comments, too! :D)

@Programmer16: What do you mean, exactly? There will be an overall pool of *many* weapons, so a hotkey for every gun will get pretty unwieldy. Depending on how the user configures his load-out, his weapon setup will change very often.

@Nit: Bitmap fonts. I'm finding them way faster than the font interface Direct3D supplies.

Share this comment

Link to comment
I hope you are adding bad-ass kung fu action. If you are not, I will be forced to break into your home and program it into your computer.

I drink a lot of caffeine, so make sure there's a pile sitting around, okay?

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!