Camera is now using Animate2 and it's mostly working, but there's a few more refactors needed.

This commit is contained in:
Zed A. Shaw 2026-02-20 00:15:19 -05:00
parent 46cc21ec7b
commit 364f66bffb
14 changed files with 106 additions and 62 deletions

View file

@ -61,6 +61,10 @@ namespace storyboard {
return sf::Time(out);
}
void UI::update() {
$camera.update();
}
void UI::track_audio() {
auto& beat = $story.beats[cur_beat % $story.beats.size()];
auto track_head = $audio->getPlayingOffset();