rive-app / rive-react

React runtime for Rive
https://rive-app.github.io/rive-react
MIT License
832 stars 32 forks source link

Add a prop to control playback speed #138

Open SupersonicMagpie opened 1 year ago

SupersonicMagpie commented 1 year ago

Currently it's only possible to specify a playback speed at edit time in the Rive editor. That's perfectly fine for normal animations, but in case of games it's sometimes required to dynamically change playback speed at the runtime.

matt-aitken commented 5 months ago

Definitely not just useful for games. We're building a marketing page and we want the animations to play slowly unless the animation is hovered.

alisalahio commented 4 months ago

+1 We need it at Instatus too!

Currently we need to create multiple animations with different speeds which is not efficient

kj4483 commented 1 month ago

Similarly, music-related applications where tempo is important need this feature.