autexousious
autexousious copied to clipboard
Improve visual aesthetics of HP Bars
In GitLab by @azriel91 on Mar 30, 2019, 13:58
What HP Bars can do:
- :white_check_mark: Generate gradient texture
- :white_check_mark: Generate texture with different colours per pixel (plus padding pixels)
- :white_check_mark: Generate sprite sheet with 1 pixel sprites
- :x: Entity for bar background
- :white_check_mark: Entity for actual hp
- :x: (Optional) Entity for outline (visual polish)
- :white_check_mark: Transform using scaling to alter the "actual hp" length (because texture and sprite sheet are immutable after loading)
- :white_check_mark: Attach to parent entity using
Parentcomponent
To make them look better, we should:
- [ ] Have another entity for the background and outline.
- [ ] Perhaps have multiple gradient stops (current yellow isn't prominent).
Maybe wait for rendy to be integrated first, since our other PR isn't being accepted.