Hi everyone!
It’s finally time to share our progress with the support for Rive app animation files.
We’d be happy to receive some feedback from our users regarding usability and performance etc.
Note that this is an alpha version, and there are features left to implement.
Also note that sometimes the stability might suffer a bit as well.
Scripting api:
There really isn’t much of an api yet. Currently, there is
rive.play_anim()
-
rive.play_state_machine()
(added 2021-09-07) rive.cancel()
-
rive.get_go()
(added 2021-09-01)
The api is decsribed in in more detail by our auto complete docs. (added 2021-09-07)
Since the full documentation isn’t done yet, the best place to learn about the api is here
and in the actual implementation here script_rive.cpp
How to use it:
-
Download the alpha version of the editor here
(Note that using an alpha version may exhibit unstable behavior. Always back up your work files!) -
Use the beta build server:
https://build-stage.defold.com
(it’s going live on monday) -
Download the extension-rive
-
Start a build with “Build and Run” in the editor
Notes and known issues:
-
No GUI support (yet)
-
No good editor preview of the rive scenes. They only display a white bounding box.
(We have an experimental branch rive-vertices that shows a slightly better preview, but it’s also currently a bit unstable)
-
Gradients aren’t implemented yet (currently being worked on)
-
Path strokes aren’t implemented yet
-
Missing documentation. Not only for the rive extension, but also for all the new api’s we’ve added during the last couple of months.
-
Long build times. We will add prebuilt libraries later on (should also fix the iOS build)
-
Rive features: Bones support, events, state machines etc (the Rive team add lots of new features fast!)
Engine support/performance:
- macOS: Builds. Good performance
- Win32: Builds. Good performance.
- HTML5: Builds. Performance: Safari - Good, Firefox - Poor, Chrome - Poor
- Android: Builds. Good performance
- iOS: Builds. Good performance.
- Linux: Builds. Runs (performance?). Editor preview seems to fail on my VM.
With that said, we hope to get some good feedback and also see some fun screenshots from our users!
Have a good weekend!
(Here’s what the extension-rive test app looks like: