# c++ (basic code) hud

**URL:** <https://forums.unrealengine.com/t/c-basic-code-hud/413805>\
**Category:** UI\
**Tags:** hud, low-poly, unreal-engine, question, CPP\
**Created:** [January 5, 2018, 2:14pm UTC](https://forums.unrealengine.com/t/c-basic-code-hud/413805 "2018-01-05T14:14:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dolegros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dolegros](https://forums.unrealengine.com/u/dolegros)\
**Post date:** [January 5, 2018, 2:14pm UTC](https://forums.unrealengine.com/t/c-basic-code-hud/413805/1 "2018-01-05T14:14:24Z")

</div>

hi guys,

i am making a low-poly game where you can control more characters at the same time like the game [life is feudal: forest vilage]  
i want to make a hud with how many money you have how many people in your city etc. but i only see tutorials where they have first/third person but i dont want that how do i make a hud for c++ basic code?

---

<div class="post-metadata">

**Author:** ![Firefly74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Firefly74](https://forums.unrealengine.com/u/Firefly74)\
**Post date:** [January 5, 2018, 2:45pm UTC](https://forums.unrealengine.com/t/c-basic-code-hud/413805/2 "2018-01-05T14:45:35Z")

</div>

Well, that the same kind of stuff, you still have one player Controller, and hud can use it and get the selected units and display data from it.

What would be different in your case ?

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 5, 2018, 4:15pm UTC](https://forums.unrealengine.com/t/c-basic-code-hud/413805/3 "2018-01-05T16:15:24Z")

</div>

Hey there, why do you want to do it in c++? You can use UMG for that, just add some text blocks and bind them to the values where you are storing them. Since this is a city builder game your Player Controller probably is not going to possess anybody, so i would say it’s a good place to store the money and how many people you have in the city.
