Better working camera that is constrained in the bounds, but the animations don't follow the bounding.
This commit is contained in:
parent
6dc9d564c6
commit
51bb74e2d7
9 changed files with 93 additions and 33 deletions
|
|
@ -10,7 +10,7 @@ namespace storyboard {
|
|||
guecs::UI $ui;
|
||||
sf::RenderTexture $view_texture;
|
||||
sf::Sprite $view_sprite;
|
||||
cinematic::Camera $camera;
|
||||
cinematic::Camera $camera{{SCREEN_WIDTH, SCREEN_HEIGHT}};
|
||||
std::shared_ptr<sf::Sound> $audio;
|
||||
std::string $zoom_target = "a";
|
||||
bool $moving = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue