Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Animate CC on mobile device performance very slow

New Here ,
Jan 13, 2021 Jan 13, 2021

Why the animation come out very slow after 10 seconds on mobile device

956
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2021 Jan 14, 2021

it's not clear whether you're having a problem with a a mobile app created with animate or a thml5/canvas project or maybe something else.

 

if it's html5/canvas you can get more help by posting a link to the files on a file server.  ie, not to be downloaded but ready for testing in a browser.

 

if it's a mobile app you can get general help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 14, 2021 Jan 14, 2021

The part about being slow after 10 seconds is unusual, unless perhaps the animation is still playing in memory.

One difference with HTML5 Canvas and AS3 animations is that when you go from part of the timeline where a movieclip is animating, to part of the timeline where that movieclip doesn't exist, it still is in memory. Make sure you have stopped any movieclips playing when you go to somewhere that it isn't needed anymore.

For poor performance on mobile that is poor from the beginning, check to see what tweens you are using. Use Classic tweens and not Motion tweens, and make sure to only use the preset tweens. A custom Classic tween will perform as badly as a Motion tween.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2021 Jan 18, 2021

It's html5 canvas. I'm using preset classic tweens only. Is it related my total frame or whatTEST.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 18, 2021 Jan 18, 2021

Depending on what is going on, a thousands frames of animation at 60 fps on mobile may be optimistic. Are all of the graphics unique? That could fill up all of memory quickly.

If the animation is always going to be the same, you could export as an H.264 compressed .mp4 file, then you can make the animation as complex as you like.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2021 Jan 18, 2021
LATEST

no, total frames aren't the issue.  as indicated by @Colin Holgate what's going on in the frames that lag is the issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines