Animations are now happening lock-step but I have to add random animations in next_combat for it to work. Need more for each result.
This commit is contained in:
parent
63260f01b9
commit
c6639998ec
9 changed files with 60 additions and 4 deletions
|
|
@ -21,6 +21,10 @@ namespace boss {
|
|||
$view_texture({BOSS_VIEW_WIDTH, BOSS_VIEW_HEIGHT}),
|
||||
$view_sprite($view_texture.getTexture())
|
||||
{
|
||||
$arena.set_end_cb([&]() {
|
||||
$world->send<game::Event>(game::Event::ANIMATION_END, DinkyECS::NONE, {});
|
||||
});
|
||||
|
||||
$view_sprite.setPosition({BOSS_VIEW_X, BOSS_VIEW_Y});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue