Have a barely working animation thing that animates the evil eye when you click a button.
This commit is contained in:
parent
51c1e04f61
commit
b87217ff90
7 changed files with 35 additions and 2 deletions
1
main.cpp
1
main.cpp
|
@ -96,6 +96,7 @@ int main() {
|
|||
}
|
||||
|
||||
if(sf::Mouse::isButtonPressed(sf::Mouse::Button::Left)) {
|
||||
rayview.$anim.play();
|
||||
rotation = -30.0f;
|
||||
} else {
|
||||
rotation = -10.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue