Have a basic understanding of what to do for the boss fight arena, but now want to start over fresh.
This commit is contained in:
parent
e523aa8b02
commit
07e281d987
14 changed files with 76 additions and 217 deletions
|
|
@ -72,7 +72,7 @@ namespace animation {
|
|||
|
||||
bool apply(Animation& anim, sf::Sprite& sprite) {
|
||||
sf::IntRect rect{{0,0}, {anim.frame_width, anim.frame_height}};
|
||||
sf::Vector2f scale{1.0, 1.0};
|
||||
sf::Vector2f scale{anim.scale, anim.scale};
|
||||
sf::Vector2f pos{0, 0};
|
||||
|
||||
anim.step(scale, pos, rect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue