storyboard::UI now adapts the camera to fit the story beats, but really story should do that.
This commit is contained in:
parent
d56b4bd335
commit
024d0cfae7
9 changed files with 123 additions and 19 deletions
|
|
@ -13,7 +13,7 @@ namespace cinematic {
|
|||
sf::FloatRect camera_bounds{{0,0},{SCREEN_WIDTH, SCREEN_HEIGHT}};
|
||||
sf::View view;
|
||||
|
||||
Camera(sf::Vector2f base_size);
|
||||
Camera(sf::Vector2f size, const std::string &name);
|
||||
|
||||
void resize(float width);
|
||||
void scale(float ratio);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue