Comments (4)
Oh interesting that's definitely not by design! You're saying that the animation stops rendering too early, basically before applying the final animation frame? Do you have an example/easy repro?
from rive-flutter.
It only happens randomly. I sort of have on my todo to dig into the code and fix it, but casual inspection suggests the delta time will sometimes skip frames if the cpu falls behind. Normally you wouldn't notice this and its the right thing to do, but for the very last frame it always needs to show it. If you play the animations in this fish https://preview.rive.app/file/fish2/9235 repeatedly, eventually the blink will stay closed or one bubble will stay on the screen.
Another workaround is to add a few final key frames instead of just relying on one, but just throwing out there that maybe the "always show final frame" rule might be the way to go.
from rive-flutter.
+1 here, I have an animation with opacity and last frames are skipped so the image is half visible
from rive-flutter.
Please try rive: ^0.6.8
which fixes this issue!
from rive-flutter.
Related Issues (20)
- flutter 编译错误 > Task :rive_common:buildCMakeDebug[arm64-v8a] FAILED HOT 16
- Failed run-time assertion due to RiveRenderObject.dispose() not calling super.dispose() at the end of the method HOT 5
- Update NDK version to latest HOT 3
- Rive file with text crash HOT 3
- Text - wrong font is loaded HOT 5
- Follow path not working HOT 5
- problem (cpp\include\rive/math/mat2d.hpp(17,5): error : definition of implicit copy assignment operator for 'Mat2D' is deprecated because ....]) compiling flutter project for windows HOT 24
- Accessing state machine controller / inputs for nested artboards via code HOT 7
- [BUG] Rive StateMatchine with multiple layers does not work properly HOT 5
- Jank on complex rive HOT 1
- Text feature error in Flutter App - "RangeError" HOT 2
- Rive animation freezes with Flutter Web in Chrome HOT 7
- [iOS] Some elements of an artboard seem to be positioned incorrectly. HOT 3
- Text rendering on (certain) Android devices will crash application due to `OutOfMemoryError` HOT 18
- Rive should have a mobile app to showcase our prototype HOT 1
- display an SVG image network HOT 2
- Hitting a random build error when building the Flutter module package for Android (.aar) with the Rive plugin HOT 2
- Support reproducible builds
- Flutter test breaks when using textRun HOT 2
- RiveRenderObject._toArtboard throws error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rive-flutter.