Lebostein

  • 31 de Ene de 2023
  • Se unió 30 de Ene de 2021
  • If I download Spine with the link in the purchase E-Mail, I get an old Launcher.
    Here (MacBook Air 2020 Ma with Mac OS 13.2) this Launcher chrashes....
    But where I download a version with a new launcher?

  • I wonder why the bezier handles are stored in global/absolute coordinates now. If you export an animation as JSON you can see that.

    Example:

    • Two points p1 and p2 in the rotation timeline
    • p1 at 11.0 seconds with an angle of -123.29 degrees
    • p2 at 11.5 seconds with an angle of -155.14 degrees
    • between these points a bezier curve with 2 handles (left and right)

    After export to JSON you can see the curve as [11.381, -125.64, 11.153, -141.86]. These are absolute values [time1, angle1, time2, angle2]. If you have high values (huge time values, huge angles) than you can see here large numbers with many digits.

    But you can calculate them back into relative values between 0 and 1 as before (or outside 0 and 1 for overshoots):
    curve = [0.761, 0.07, 0.305, 0.58]
    The first value in the list is a time value. 0 means 11.0 seconds (p1), 1 means 11.5 seconds (p2). And 0.761 corresponds to 11.381 seconds accordingly. So you only have to store small values (between 0 and 1) but with high accuracy. As long as I know Spine (8 years) always relative values were stored for bezier handles. Why has this changed? This has nothing to do with the appearance of the new timeline...