jbcallv / game-engine

2D game engine made in C++
1 stars 0 forks source link

stop player animation on key released #18

Closed jbcallv closed 2 years ago

jbcallv commented 2 years ago

1) finish current playing animation 2) switch to idle animation or to first frame of current animation

jbcallv commented 2 years ago

@williamkyl modified your code a little just to make the animation return to the first frame