Closed FormularSumo closed 3 years ago
https://www.reddit.com/r/love2d/comments/b1qa7i/drawing_health_bars/ Perhaps two rectangles, 2nd rectangle length is 1/1000 of first * health and different colour
https://love2d.org/wiki/love.graphics.rectangle How to draw a rectangle
https://love2d.org/forums/viewtopic.php?t=227#p210524 - I forgot/didn't realise colours use 0-1 rather than 0-255.
https://www.reddit.com/r/love2d/comments/b1qa7i/drawing_health_bars/ Perhaps two rectangles, 2nd rectangle length is 1/1000 of first * health and different colour