-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animation stutter in Chrome #964
Comments
I am unable to run
|
Also the .zip link seems broken. I am getting a 404 error. |
Try this one: Version B2. |
No errors but unfortunately no images displayed. |
@theinteresthunter Testing on Chrome Version 67.0.3396.62 (Official Build) (64-bit) Version A doesn't appear to be "jerky" Have you tried using version 1.0.0? |
Not jerky for me either Version 67.0.3396.62 (Official Build) (64-bit) Linux |
@sebastianderossi I've corrected the zip download link. |
@theinteresthunter I downloaded your latest source.
|
I was testing this in the forum, and the jerkiness is subtle on my Mac, but Safari is clearly smoother. I dare say that Javascript in general runs faster in Safari, and maybe it's for Google to improve the performance of Chrome. I'm curious about RAF, when applied to animations done in Adobe Animate, so I'll give that a try. I'm working on something that plays well on iPhone but poorly on Android, maybe RAF will help there. |
Regarding RAF, you can also use Another option is to use the |
Which of these options ends up skipping frames? One worry is that if you have code on keyframes that it might get skipped. Like, if you have this.stop(); at the end of an intro animation. If that was skipped the animation would run through whatever was next in the timeline. |
MovieClip will skip visual frames to maintain a framerate, but will never skip frame actions. |
Thanks, that's good to know. |
To add to this a bit:
|
In my particular case I have something that works fine on iPhone, but is slow on new Android phones, and very slow on older Android phones. If I'm set to 30 fps, what would be a safe way to have an older Android phone complete five seconds of animation in five seconds of time, without missing frames with code? Is that what framerate would do? |
I'm having similar problems, were you able to figure out a solution? |
I’ve created a lot of animated ads with Adobe Animate CC (using EaselJS/CreateJS) and have been disappointed with the stutter playback on Chrome. (I'm using 66.0.3359.181. My clients see the same issue too, but I don't know what browser they're using.)
I imagine you're aware of the issue. To enable you brilliant people to help solve this problem, I’ve created a simple version of the issue. Here, I have 3 cat images that animate from left to right. The images are only 300x250px and about 28k each.
I’m trying to solve the specific problem of getting rid of the stutter/jerkiness that happens as the images travel from left to right. Do you have any suggestions?
It works pretty smoothly in Safari and Firefox. Chrome shows significant stutter.
See Version A - Made with Animate CC
Stutters heavily in Chrome
See Version B - Made with Google Web Designer (GWD).
Smooth as butter in Chrome. No issues.
I realize Version B is not a fair comparison to Version A since GWD isn’t using canvas or createjs.
Download the files.
Any thoughts? I've also posted this issue here in Adobe Animate CC's forum.
The text was updated successfully, but these errors were encountered: