Bring back a simple blood splatter texture.
This commit is contained in:
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 |
|
@ -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;
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace gui {
|
|||
void dirty();
|
||||
|
||||
void show_level();
|
||||
void health_low();
|
||||
void dead_entity(DinkyECS::Entity entity);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue