FormidableLabs / react-game-kit

Component library for making games with React & React Native
http://reactnext.surge.sh
MIT License
4.62k stars 309 forks source link

Sprite: switching repeat not working without changing state #72

Open CocoJr opened 6 years ago

CocoJr commented 6 years ago

Hi!

When i change repeat from true to false, nothing append, i have to change the current state if i want the Sprite is rerendering without loop on animation. I just want to cancel current repeat on sprite state if the user stop to press some keys.