Bring back a simple blood splatter texture.

This commit is contained in:
Zed A. Shaw 2025-04-05 17:48:24 -04:00
parent b832bbd78a
commit e18aeaf05c
3 changed files with 5 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After

View file

@ -42,7 +42,6 @@ namespace gui {
}
void MainUI::render() {
if($show_level) {
auto time = $clock.getElapsedTime();
auto st = textures::get("down_the_well");
@ -60,6 +59,10 @@ namespace gui {
$overlay_ui.render($window);
}
void MainUI::health_low() {
$overlay_ui.show_sprite("middle", "blood_splatter");
}
bool MainUI::play_rotate() {
bool done = $camera.play_rotate($rayview);
$needs_render = !done;

View file

@ -45,6 +45,7 @@ namespace gui {
void dirty();
void show_level();
void health_low();
void dead_entity(DinkyECS::Entity entity);
};
}