New boss scene that's really just a pixelated photo bash done quickly.
This commit is contained in:
parent
ca38b58450
commit
7f10c5b3d7
10 changed files with 37 additions and 29 deletions
|
|
@ -105,7 +105,7 @@ namespace boss {
|
|||
break;
|
||||
case ATTACK: {
|
||||
$ui.status(L"BOSS TURN");
|
||||
$ui.move_boss(run % 10 < 5 ? "boss1" : "boss2");
|
||||
$ui.move_boss(run % 10 < 5 ? "boss5" : "boss6");
|
||||
$ui.$boss_anim.play();
|
||||
int attack_id = std::any_cast<int>(data);
|
||||
boss::System::combat(attack_id);
|
||||
|
|
@ -128,7 +128,7 @@ namespace boss {
|
|||
}
|
||||
|
||||
void Fight::render(sf::RenderWindow& window) {
|
||||
$ui.render(window);
|
||||
$ui.play_animations(window);
|
||||
$ui.render(window);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue