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:
Zed A. Shaw 2025-09-22 13:43:36 -04:00
parent e523aa8b02
commit 07e281d987
14 changed files with 76 additions and 217 deletions

View file

@ -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);