• Unity
  • Unity Runtime v3.0 Update Pending

Related Discussions
...

The 3.0 runtime update for libGDX is still in progress.
AnimationState is currently being worked on. This affects the other classes too.
It will include a number of improvements for event handling, especially during mixing, and handling tracks and mixing/crossfading between animations.

Porting to Spine-C# and Spine-Unity will begin after libGDX is updated.

Hang tight!

4 天 后

We are waiting :-) and are excited.


Edit by BinaryCats 🙂

foriero, please. only post in cat pictures and gifs.

14 天 后

Hi!
When update unity's runtime?

Please


:sweat:


Edit by BinaryCats


 Loading Image

You guys rock! Good luck with the update 🙂

 Loading Image

The work-in-progress Spine-Unity 3.0 beta code can be found here: https://github.com/pharan/spine-runtimes/tree/unity-v3-test

Few things to note:

  • AnimationState changes from spine-libGDX 3.0 hasn't been included since those aren't complete yet.
  • Most of the SkeletonUtility functionality is disabled, pending a port to the new transform inheritance system. I've kept all the public fields so it doesn't mess up your serialized objects but you really shouldn't be using this beta runtime in your actual project yet.
  • This includes the new Getting Started ordered sample scenes. (some are just modified versions of the original example scenes)
  • Transform Constraints in the json are not parsed. This currently matches the behavior of the publicly available version of spine-libgdx 3.0

Hooray! Sounds like things are coming along!

 Loading Image

8 天 后

Nate just updated spine-csharp and spine-unity.
I'll be going over it once to add the new features and fix a few things (that missing tangent fix, faster json loading with SharpJson, SkeletonGraphic for Unity UI compatible with masking)
Minor changes to the API too.

Then Mitch will probably start work on SkeletonUtility compatibility with the new scale inheritance.

 Loading Image

Ok. Done with my part. I'll keep an eye on my changes for bugs and maintenance.
@Mitch, you're up.

 Loading Image

Maaaageliiiiight.

 Loading Image

Prepping for SFVR12 :/

My other "Magelight"
 Loading Image
 Loading Image


post improved by pharan


I'm looking really hard to find the cat. Mitch, you suck at this.

Edit: that's more like it!

 Loading Image

Hi, Sorry, no cat. :-( After downloading latest Spine Runtime I get this error : Assets/Spine/src/SkeletonJson.cs(162,102): error CS0103: The name `scale' does not exist in the current context

if (root.ContainsKey("transform")) {
            foreach (Dictionary<String, Object> transformMap in (List<Object>)root["ik"]) {
               TransformConstraintData transformConstraintData = new TransformConstraintData((String)transformMap["name"]);

           String boneName = (String)transformMap["bone"];
           transformConstraintData.target = skeletonData.FindBone(boneName);
           if (transformConstraintData.target == null) throw new Exception("Bone not found: " + boneName);

           String targetName = (String)transformMap["target"];
           transformConstraintData.target = skeletonData.FindBone(targetName);
           if (transformConstraintData.target == null) throw new Exception("Target bone not found: " + targetName);

           transformConstraintData.translateMix = GetFloat(transformMap, "translateMix", 1);
           transformConstraintData.x = GetFloat(transformMap, "x", 0) * scale;
           transformConstraintData.y = GetFloat(transformMap, "y", 0) * scale;

           skeletonData.transformConstraints.Add(transformConstraintData);
        }
     } 

17 Feb 2016 3:08 am


Also there is warning :

Script 'Animation' has the same name as built-in Unity component.
AddComponent and GetComponent will not work with this script.

Can you please fix it? Rename that class to SpineAnimation?

 Loading Image

That second warning doesn't matter. It only comes up the first time you import the script. And won't bother you after.
It also doesn't make sense since Spine.Animation is not a component and is under the Spine namespace.


17 Feb 2016 3:27 pm


Confirmed the first error. I'll take care of it.


17 Feb 2016 3:45 pm


Done

 Loading Image