Preload animation/stutter issue

  • #1, by paraboleeSaturday, 18. July 2015, 23:22 10 years ago
    Hi everyone,

    I am having an issue where I have a scene with a large background animation that uses 33 frames causes serious stuttering when entering that scene for the first time. It is perfectly smooth after the first time so I figured an simple preload animation action would resolve the issue.

    However I tried using a At the beginning of scene" action preload the animation in the scene prior to the scene with the animation. But it made no difference. Tried preloading the animation in a number of points before entering that scene but it never seems to make a difference.

    What can I do to rectify this?

    Thanks!!!

    Newbie

    45 Posts


  • #2, by sebastianSaturday, 18. July 2015, 23:24 10 years ago
    do you use .pngs? try to convert them do .webp-format and see if it helps

    Thread Captain

    2346 Posts

  • #3, by paraboleeSaturday, 18. July 2015, 23:53 10 years ago
    Thanks, that was a useful suggestion. Just discovered WebPconv which is super useful. Incredible compression.

    However while it helped a little, it still didn't fix the issue. I feel like the preload animation action is not working as it makes little sense why it stutters so bad.

    While the animation takes up the width of the screen and is 33 frames, with the WebP format it is only 620k (as apposed to 40mb before).

    I cannot understand why it would stutter with such a small amount of data. Especially if it was preloading it.

    Newbie

    45 Posts

  • #4, by afrlmeSunday, 19. July 2015, 11:22 10 years ago
    WebP doesn't reduce the amount of VRAM required for the images / animations (or so I've been told) it just reduces the required hd space for your game & decreases the loading time of your images & animations.

    Are you using the latest version of VS? I believe preloading was deactivated in 4.x until the most current version (4.2, build 1182, 01/05/15).

    Imperator

    7285 Posts

  • #5, by paraboleeMonday, 20. July 2015, 04:59 10 years ago
    Ah-HA! That will be it! I am using 1177!

    Knew it seemed like it wasn't pre-loading.

    Off to test! THANKS!

    Newbie

    45 Posts

  • #6, by paraboleeMonday, 20. July 2015, 06:05 10 years ago
    Yep that did it! smile

    Thanks

    Newbie

    45 Posts

  • #7, by afrlmeMonday, 20. July 2015, 11:38 10 years ago
    Nice one. wink

    Imperator

    7285 Posts