Implementing a RTS HUD
Hey guys, I'm pretty new here and to UE4 itself. I've been working a simple RTS game (sort of like Age of Empires) but I have a doubt about how I should implement the HUD. As you know there's the edge pan and unit selection (which I've implemented in a HUD), but then you have another HUD depending on the unit you have selected. So for example: if I select a civilian it should have a "build house" button or something like that, if I select a warrior it should have the "attack" button and so on. My question is how should I approach this. I have the idea of creating a basic HUD which handles the camera pan and unit selection (because this functionality should be there no matter what unit you have select), then I create a HUD for each unit that inherits from this basic HUD class (which handles the camera and unit selection). Is this a good way to implement this? And how would I switch HUDs in real time?
asked Apr 04 '15 at 07:11 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here