Now can do a SLIDE motion that is a linear move to an x/y.
This commit is contained in:
parent
f1f4cbc80f
commit
222c66a1f2
6 changed files with 58 additions and 48 deletions
|
|
@ -86,6 +86,7 @@ namespace boss {
|
|||
$ui.status(L"PLAYER TURN");
|
||||
const std::string& player_pos = run % 10 < 5 ? "player1" : "player2";
|
||||
$ui.move_actor("player", player_pos);
|
||||
$ui.zoom(player_pos);
|
||||
$ui.$zoom_anim.play();
|
||||
int attack_id = std::any_cast<int>(data);
|
||||
boss::System::combat(attack_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue