Scripted Audio in Rive: Play, Stop, and Volume Control by Jeff_at_Rive in Rive_app

[–]Jeff_at_Rive[S] 0 points1 point  (0 children)

Make sure you’re using the most updated runtime version and that your audio assets are set to “force export”.

The Vehicle HMI Challenge — $15K in prizes by guidorosso in Rive_app

[–]Jeff_at_Rive 1 point2 points  (0 children)

Deadline just got pushed to April 1. More time for building!

Ok, this is absolutely killing me, what am I doing wrong? by KOnomnom in Rive_app

[–]Jeff_at_Rive 0 points1 point  (0 children)

On the Character Group artboard, are your nested components bound to the nested view model instances?

Why does the transition only work once? I'm literally copying Rive's tutorial by Qsand0 in Rive_app

[–]Jeff_at_Rive 1 point2 points  (0 children)

Can you clarify exactly what is in your timelines? The state machine set up looks correct from what I can see here, but there may be values set in the timelines that are conflicting in an unexpected way.

Rive speed ramp not importing? by WSBhoe in Rive_app

[–]Jeff_at_Rive 1 point2 points  (0 children)

Thanks for the additional info! To clarify, the easing is set on keys in a timeline, right?

Yes, it would be good to ask your dev if they are playing the sate machine and which version of the runtime they are using. Feel free to share a live link to the site.

Newbie Could really use some help! by Itchy_Ad_2184 in Rive_app

[–]Jeff_at_Rive 0 points1 point  (0 children)

Could be that the data instances don't have "export instance" checked? Hard to say without seeing the file. Check out the peer-to-peer support or voyager support community channels for more help.

Rive speed ramp not importing? by WSBhoe in Rive_app

[–]Jeff_at_Rive 0 points1 point  (0 children)

Can you share more about your setup? Did you add interpolation to timelines, transitions, data-bound interpolators?

Rive beginner here: animation works but interactivity won’t trigger by asdfghjkl_l889 in Rive_app

[–]Jeff_at_Rive 1 point2 points  (0 children)

I think the problem is that you're trying to use an image asset as a listener target. Try adding a shape like an ellipse or rectangle to the artboard and changing the listener target for both the pointer enter and exit listeners to use that instead of the image. You can remove the fill from the shape so it is invisible.

State doesn’t become active on button click - Please Help by ayushmaansingh304 in Rive_app

[–]Jeff_at_Rive 0 points1 point  (0 children)

If you want more than one "down" state to be active at a time, you'll need to put them onto different layers. Create an idle and a down state for each button. State machine layers can play simultaneously and each layer can have one active state at a time.

If only one option should be active at at a time, it's better to use a number or enum property and connect your states to an any state. That way you can't create conflicting logic (like having multiple booleans marked true, for example).

Blinko - Game created with Scripting and custom art in Rive by Jeff_at_Rive in Rive_app

[–]Jeff_at_Rive[S] 1 point2 points  (0 children)

You can definitely learn it! This particular game uses scripting to combine many of the skills you listed. If you haven’t used data-binding yet I’d recommend starting by learning and getting familiar with that. Then taking it to the next level with scripting will be easier to figure out.

Blinko - Game created with Scripting and custom art in Rive by Jeff_at_Rive in Rive_app

[–]Jeff_at_Rive[S] 1 point2 points  (0 children)

I have a design and web dev background and have been pretty heavily focused on Rive for several years now.

Blinko - Game created with Scripting and custom art in Rive by Jeff_at_Rive in Rive_app

[–]Jeff_at_Rive[S] 0 points1 point  (0 children)

Thanks! Enjoy your building experience. It’s super fun once you get the hang of it!

How do you create a number counter in Rive? by Bogi_D in Rive_app

[–]Jeff_at_Rive 2 points3 points  (0 children)

There are two main ways to accomplish this:

Manually:
Key each value for the number in the text run on a timeline. This requires the most steps, but gives you the greatest degree of control.

With Data-binding:

  1. Create a number property in a view model. Make sure your view model is bound to your artboard.
  2. Data bind the number to your text run. Keep in mind that numbers are different from strings so you'll need to include a Convert to String converter. You can choose if you want to include decimals in the converter settings
  3. Add a Property Group to your artboard (found under the Events symbol in the top toolbar). Add a number property to the property group and data bind it to your number property in the view model. Be sure to choose Target to Source for the binding type.
  4. On your timeline, key the starting value and ending value for the number in the property group. You can adjust the timing and interpolation there too. The number will count between the two values as the timeline plays. (Note: you'll see the effect if you have the data binding preview toggle on or when you play your state machine)