Sports captioning - clips and pics: jumping to set end point in runtime
We are producing a service which allows fans to take captioned pictures of sports players where the caption tells a specific story. To do this we use the feature of text in runtimes being variable. The service includes the ability to post clips and pictures however, we have a question about how to set the runtime to jump to the end point of animation if the user is taking a picture, so the caption is not caught midway through the build.
Can you advise how to do this in Flutter, so that it can be triggered off the shutter button.
Is it possible to jump around State Machine in Flutter this way?
It might depend a bit on your implementation, but I'd recommend using the Any state. The Any state is a way to jump to any state from any other state. https://rive.app/docs/editor/state-machine/states#any-state
Lance, thank you. Do you have a brief introduction into how this function is called in Flutter?
No problem. Here are the docs for setting inputs, which is how you communicate from your code to your Rive state machine: https://rive.app/docs/runtimes/state-machines#controlling-state-machine-inputs
Thank you Lance. Can I ask a supplementary question? Would any of your designers be interested in doing some example captions for my sports service? I've done some basic examples, but I am not a designer, and as we are putting these into Rive, it would be really helpful to have a skilled designer who understand Rive show whats possible.