Now have a simple storyboard system that can display an image and move with the camera to different cells.

This commit is contained in:
Zed A. Shaw 2025-11-04 00:20:49 -05:00
parent 068eeeecd1
commit 4bda2ee01c
10 changed files with 118 additions and 40 deletions

View file

@ -86,8 +86,6 @@ 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.$camera.play();
int attack_id = std::any_cast<int>(data);
boss::System::combat(attack_id);
state(State::PLAYER_TURN);
@ -110,7 +108,6 @@ namespace boss {
$ui.status(L"BOSS TURN");
const std::string &boss_at = run % 10 < 5 ? "boss5" : "boss6";
$ui.move_actor("boss", boss_at);
$ui.zoom("");
$ui.animate_actor("boss");
int attack_id = std::any_cast<int>(data);
boss::System::combat(attack_id);