Camera for the storyboard can now do pan, bounce, dolly, and shake.
This commit is contained in:
parent
0d326089f7
commit
29409c54ce
5 changed files with 23 additions and 15 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue