Now can do a SLIDE motion that is a linear move to an x/y.

This commit is contained in:
Zed A. Shaw 2025-11-02 12:35:45 -05:00
parent f1f4cbc80f
commit 222c66a1f2
6 changed files with 58 additions and 48 deletions

View file

@ -142,6 +142,7 @@ namespace components {
bool apply(sf::Sprite& target, sf::Vector2f pos);
bool apply(sf::View& view_out, sf::Vector2f pos, sf::Vector2f size);
void lerp(sf::Vector2f& scale_out, sf::Vector2f& pos_out);
void play();
float twitching();