Home

Awesome

Futile-SpineSprite

Requirements

** For ease of use, I've included both spine-runtime and futile snapshots in this package.

Setting up your project

How to use

Example

    GSpineManager.LoadSpine("playerAvatar", "spine/player/player-spine-json", "spine/player/player-atlas");
    GSpineSprite sprite = new GSpineSprite("playerAvatar");
    Futile.stage.AddChild(sprite);
    
    

Loading Spine Data

Create the Sprite

    GSpineSprite sprite = new GSpineSprite("skeletonName");
    Futile.stage.AddChild(sprite);

Skin Controls

    sprite.SetSkin("skinName");

Animation Controls

    sprite.Play("animationName", bool loop);
    sprite.Queue("animationName", bool loop);
    sprite.Pause();
    sprite.Resume();
    sprite.Stop();
    sprite.SetAnimationTimeScale(1.0f);
    sprite.SetAnimationMix("fromAnimationName", "toAnimationName", floatDuration);

Color Controls

Everything else

Events

Tips

Not Implementated or Supported