Hi all…
I have created this healt bar…
http://s15.postimg.org/ptlktnv7b/Immagine1.jpg
but i can fill the end and the beginning too without go out of the image?
Its tough to tell how you have it set up, but it looks like you placed a progress bar, and then you’re using another image for the outline? You could try a few different methods instead.
Method 1: Actually use the image parts of the progress bar, located in the style section–youll need to set both the fill image and the background image. If those images have an alpha channel then it should apply it directly, clipping the textures for you. (youll need to set the “Draw As” to “Image”). This is probably the proper way to set this up.
Method 2: abandon the progress bar and make a custom one as a material that you then update directly, This is the most flexible way to set this up, but involves the most work.
Method 3: Make both the progressbar and a pure rectangle outline both children of another panel, and then “skew” that panel to give it the slant you want. I’m not positive if the progress bar will skew, but if it does this is the simplest way to set this up.
And if i want to create an hd like this? How i could do?
Can someone create a tutorial or something similiar?
You mean like the non-grid based health/ammo meters and that circle meter and such? Or the partial transparency/ghostly-computer look? In those games they are probably done via interfacing with a more elaborate UI solution like Scaleform (which basically just uses flash to animate the UI). You could do all those sorts of tricks in UE4 too though, pretty easily, but you’ll be doing a lot with materials, so start going through tutorials on how to manipulate materials via Blueprint (the same process would work for UMG) and how to build complex materials. The actual materials you’d build would be pretty simple, but you’ll need to know a bit about manipulating texture coordinates and layering and masking textures, which the basic tutorials might not go into.
You probably won’t be able to find tutorials telling you exactly what you want for many things, but by going through some tutorials that are related (like using Material Instances in Blueprint and building complex materials in this case) you should being to see a path toward a solution. Don’t just watch a tutorial either–build the thing they are building along with them–that’s the best way to learn. Goodluck!
Ok, thanks for all ;D