Camera is now using Animate2 and it's mostly working, but there's a few more refactors needed.
This commit is contained in:
parent
46cc21ec7b
commit
364f66bffb
14 changed files with 106 additions and 62 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue