Hey guys, I am still working on the FPS. And I am currently implementing a Bloodscreen (like in Call of Duty), so what I basically want, is that the Player will see Bloodscreen 1 (a .png texture) if his health is lower than 90, the second one if the player health is under 60 and the last one if the player health is less than 30 percent…
But I am not sure how to make it, I thought of setting the “a” color which is obviously the opacity to 0 and back to 255 if the case switches, however I don’t know how to do it exactly, and appreciate every helpful post from you!
oh and btw, here’s the code which I already implemented, to show it “always”:
GUI.DrawTexture(Rect(0,0,Screen.width, Screen.height), Blood1, ScaleMode.StretchToFill, true);
(and this is working for all resolutions, perfectly, but still, it’s always there… kinda annoying
sincerely,
Cerbi