Questions tagged [hud]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
31 views

Add Item for OptionsButton is Gone from the editor

When i added in a optionbutton for my hud i couldnt find a way to add items manually,this was weird as when i looked for a way,a button on top of the editor should appear but its not there? I dont ...
NEWBIE's user avatar
  • 23
0 votes
0 answers
40 views

Add a controls instruction overlay to game HUD

I was wondering how I could make an instruction panel for the users of my game in Unity. I will add a photo to this post that shows an instruction panel. Any explanations would be much appreciated!
Cezar P's user avatar
  • 45
1 vote
1 answer
401 views

Best way to make a Side Panel UI with Libgdx?

Take this image for example, the game is called Realm of the mad god, and it has this side panel filling the whole screen height with the player info. To reproduce it, Is there any way to make the ...
juanSenna's user avatar
0 votes
1 answer
504 views

Problem with progress bar visibility

I have a code with several elements. One of these elements I would like you to initiate hidden. So I did, set for the progress bar to start hidden. It started to go wrong when and I was calling its ...
Boneco Sinforoso's user avatar
1 vote
0 answers
50 views

Elements of a widget blueprint do not appear if I click on simulate

I made a widget that contains 2 minimaps and 2 texts related to a character's variables. When I click the play button (Selected Viewport) everything happens fine: Focus where I circled in pink. It ...
Boneco Sinforoso's user avatar
0 votes
1 answer
3k views

libgdx - creating static HUD/widgets on screen

I'm having problems with creating static HUD/buttons on the game screen. Currently my game has a character moving on the tiled map, with OrthographicCamera put on, everything works fine. I wanted to ...
spectral's user avatar
2 votes
1 answer
5k views

How can I make custom progress bar in unreal engine?

I am trying to make a health bar. I want a masked progress bar so I tried making another progress bar and moving according to the percent of the health in blueprint. But I couldn't find any ...
AliTeo's user avatar
  • 35
35 votes
9 answers
32k views

What is the difference between a HUD and a GUI in a game?

Does anyone know the difference between a graphical HUD (head-up display) and a GUI (graphical user interface) in a game? Is a HUD part of the GUI and just displaying information? That would mean that ...
LOLWTFasdasd asdad's user avatar
0 votes
2 answers
3k views

How to change the size of a draw GUI?

I tried to create a HUD button with a sprite of dimensions 1200x1200 to decrease it by code, but I could not. Code: ...
Boneco Sinforoso's user avatar
1 vote
1 answer
495 views

2D HUD overlay drawing based on 3D coordinates and camera azimuth and elevation

Assume you have the 3d coordinates of the player and another unit N as well as the azimuth and elevation of a camera always looking at the player. In the following ...
Christian Ivicevic's user avatar
0 votes
2 answers
980 views

2D HUD over 3D scene

I'm trying to create a 2D Heads up Display for my players in a 3D OpenTK environment. How I'm doing it is by drawing my 3D elements and then running this code. ...
user avatar
1 vote
1 answer
554 views

How to draw HUD in DirectX12?

I would like to draw reference frame to see how my camera moves around scene. I want these arrows to always be on the top of other geometry. How can I achieve it? I think I need to disable depth test ...
Yola's user avatar
  • 169
0 votes
1 answer
413 views

NGUI sprites become blurry on android

I have this screen in the editor made with NGUI and 8 sprites: But when I build it for android and open the game the same sprites on the screen looks blurry I don't know what could be causing this, ...
Javier Bullrich's user avatar
2 votes
1 answer
2k views

How do I render a 2D overlay with DirectX 9?

I'm working in C++ with DirectX 9 on a 3D game, but I want a 2D overlay for rendering a HUD. I've heard that I could use D3DXMatrixOrthoLH, but I'm very confused ...
oliveryas01's user avatar
1 vote
1 answer
198 views

Java heart based health mechanic

so I've made a basic game in java w/ LWJGL 2 and Slick. Right now Im working on the hud and health system. I'm kindof trying to get a minecraft like health system, 15 hearts for health,but I want the ...
Ivan Jerza's user avatar
0 votes
0 answers
628 views

OpenGL HUD is flickering when rotating the camera

I draw game HUD after drawing 3D scene. When I move the camera quickly, HUD starts flickering. I noticed that it happens only if the distance between the camera and an object its looking at changes ...
Russoul's user avatar
  • 282
4 votes
1 answer
3k views

I can't drag'n'drop UI-Elements from the Scene-hierarchy into a public field (Unity 5)

I just watched this Video https://unity3d.com/learn/tutorials/projects/survival-shooter/player-health and tried to drag'n'drop the UI-Elements on the matching script, just like they did. But this is ...
TobiasW's user avatar
  • 987
0 votes
1 answer
1k views

Libgdx Hud with two stages

I have an app that's currently working with a single stage but i need to add a side display/section as a HUD, with scores/lives etc on it, so that the HUD is on the left, and the main hand screen on ...
Russ Wheeler's user avatar
-1 votes
1 answer
2k views

How do I choose where to position a mini-map in the HUD? [closed]

In a game with a minimap, what factors should be considered when choosing where to put the minimap on the screen HUD? What choices are typically made when wanting to emphasize a particular factor?
John Demetriou's user avatar
0 votes
1 answer
652 views

Unity display message upon keypress?

Hi I'm trying to get NGUI's HUDtext to display a set of text message one of which being "Try using WASD to move" and displaying "Well done!" upon input of any of the four keys. Unfortunately I'm not ...
user4985's user avatar
  • 165
1 vote
2 answers
1k views

Touchable Hud with Actors in Libgdx

I am writing a Tower Defense for Android. Right now my LevelScreen contains a Background-Actor which is pan-able and some zones to buy Towers - after buying them you can upgrade them further. When you ...
Gubluk's user avatar
  • 11
1 vote
1 answer
1k views

How do I create a HUD that appears to occupy 3D space/can animate?

I'm working with a group to try and make a first person space platformer in Unity, and was wondering if there would be anyway to create a HUD that moves and reacts to player actions, specifically ...
user48365's user avatar
0 votes
2 answers
367 views

How to set HUD elements position and size depending of resolution [duplicate]

How can I set HUD elements' position and size when changing resolution and maintain the desired layout? All HUD elements (including menu items such as play button, setting button etc) need to get some ...
user2597689's user avatar
0 votes
2 answers
233 views

Using Canvas instead of Scaleform in UDK

I'm working with Unreal Script, and I need to use Canvas instead of Scaleform to create a HUD. I've extended the game type from UTGame, and used bUseClassicHUD in the Default Properties section, but ...
Daniel's user avatar
  • 11
2 votes
1 answer
1k views

Scaling HUD and Camera

I wanted to display an HUD, similar to the strategic games' one (like in DotA 2, Warcraft III, Starcraft II or Age of Empires). I didn't really know how to do it, so I managed to create a Texture ...
Vereos's user avatar
  • 185
8 votes
3 answers
6k views

Entity Component System for HUD and GUI

This is a very rough sketch of how I currently have things designed. It should, at least, give an idea of how my ECS is currently designed. If you notice in that diagram, I have basically split the ...
Jason L.'s user avatar
  • 487
3 votes
2 answers
889 views

Efficient way to output/display debugging data in a window

I'm writing a program in Visual Studio, C++ with OpenGL and for the first time, I think it will be beneficial to see some live data on top of my display/render window. To give some scope, I'm ...
Reanimation's user avatar
1 vote
2 answers
892 views

Make a lives display in HUD, Flash AS3 (not text!)

I've been searching the internet all day and I can't find the answer I'm looking for. In my HUD I want to use orange dots to represent lives. The user starts off with 5 lives and every time they die, ...
user40404's user avatar
3 votes
2 answers
675 views

Events vs Pinging: How should I structure my HUD-updating code?

I'm starting to develop a 2D fighting game using C++ and SMFL. I'm relying (at least sort of) on a Entity Design Pattern. I'm struggling to see how my code should update and manage a heads-up-...
Nightzus's user avatar
1 vote
1 answer
277 views

UI in Canvas-Games [closed]

I am quite new to programming with <canvas/> and WebGL, but very familiar in HTML5. So far, I have made to render some entities on the ...
Lanbo's user avatar
  • 1,007
-1 votes
1 answer
2k views

Drawing a HUD above 3D with shaders in GL

In the old days you would just do glOrtho in Projection, reset Modelview-Matrix and draw in [-1,1],[-1,1],0. But now-a-days we ...
yogo1212's user avatar
5 votes
4 answers
30k views

Game Maker: How do I make a score display move with the view?

I have drawn everything needed to the screen including a HUD for the score, but I have my room set to follow my player: When the camera follows the player, the score HUD stays doesn't scroll with him! ...
user avatar
7 votes
3 answers
209 views

Where to show user shot's power on touch screen?

I want to show user shot power in standart way (the more user holds finger on the screen the stronger is shot) Where is the best place to show this icon on touch screen(when I use mouse it's better ...
Yevhen's user avatar
  • 1,470