Messed up tweening animations with Krpano 1.0.8.14

  • Hi Klaus, I've just downloaded and installed the new krpano version. Unfortunately in the animation intro to my interface I noticed immediately something was wrong, and I think something is not right with this version.

    In my interface I use a lot of tweenings, there is an intro image with instructions, I also use an info Button wich triggers a tweening image with my contact info and I also created a special arrow bellow the control buttons to hide/show them by tweening their position/alpha. The fact is that with the new krpano what used to be some nice and smooth tweening animations now run as if they were in an accelerated time (they miss a lot of frames).

    I created a special demo so you can compare both interfaces, all .xml are the same, the only thing that changes is krpano.swf, from 1.0.8.12 to 1.0.8.14. You can check it at:

    http://www.3sfera.com/krpano-err/1.0.8.12
    http://www.3sfera.com/krpano-err/1.0.8.14

    You can check this parameters:

    - INTRO ANIMATION
    - INFO ANIMATION (INFO BUTTON)
    - HIDE/SHOW CONTROLS ANIMATION (ARROW BUTTON BELOW ABOVE CONTROLS)

    If you want to check xmls, they are in both directories named: inicial.xml, global.xml, actions.xml

    Hope this problem can help you improve next krpano release, I really like Krpano and I'd love to use this new version but I'll have to wait till this details are solved.

    Best Regards.

    Luis Erantzcani

  • Hi,

    yes, there was a change in the 1.0.8.14 version,
    see here in the releasesnotes:
    https://krpano.com/examples/10814/releasenotes.txt

    this note:

    Quote

    The default value for the "actionintervalbase" is now "timer" (like in HTML5 where no real frame-rate exists).

    this was changed for better Flash-HTML5 compatibility,
    in HTML5 there is no real framerate, there the code always runs with the same rate and the real rendering is independent of it,
    and by using that setting the animations should run in the same speed in Flash and HTML5,

    you can get the "frame" based motion back by setting "actionintervalbase" to "frame",
    see here:
    https://krpano.com/docu/xml/#krpano.advanced
    and here:
    https://krpano.com/docu/xml/#krpano.actionintervalbase

    e.g.

    Code
    <krpano ... actionintervalbase="frame">

    best regards,
    Klaus

  • I see, if I change actionintervalbase back to frame it runs as before. Anyway, I still don't get the point now of why not to have some control over the frame rate, right now all my tweenings are based in defined times so when framerate is not defined my "times" get extended/contracted and my animations run in an unpredictable way. If it also depends of the computer used to view my panos, then I lose all control over how animations are displayed. I guess later I'll find out how this represents an improvement in HTML5, because for now I can't use this new "timer" feature as it messes my animations.

    Best Regards.

    Luis Erantzcani

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!