c++ (basic code) hud

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?

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 ?

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.