Camera for the storyboard can now do pan, bounce, dolly, and shake.

This commit is contained in:
Zed A. Shaw 2025-11-09 11:41:11 -05:00
parent 0d326089f7
commit 29409c54ce
5 changed files with 23 additions and 15 deletions

View file

@ -7,6 +7,7 @@ namespace cinematic {
components::Animation anim;
sf::View view;
sf::Vector2f size;
sf::Vector2f position;
Camera();
@ -14,7 +15,7 @@ namespace cinematic {
void move(sf::RenderTexture& target, sf::Vector2f pos);
bool playing();
void play();
void position(float x, float y);
void focus(float x, float y);
void style(const std::string &name);
};