Questions tagged [spine]

Spine is an animation tool that focuses specifically on 2D animation for games. Spine aims to have an efficient, streamlined workflow, both for creating animations and for making use of those animations in games.

Animation in Spine is done by attaching images to bones, then animating the bones. This is called skeletal or cutout animation and has numerous benefits over traditional, frame-by-frame animation:

  • Smaller size Traditional animation requires an image for each frame of animation. Spine animations store only the bone data, which is very small, allowing you to pack your game full of unique animations.
  • Art requirements Spine animations require much fewer art assets, freeing up time and money better spent on the game.
  • Smoothness Spine animations use interpolation so animation is always as smooth as the frame rate. Animations can be played in slow motion with no loss in quality.
  • Attachments Images attached to bones can be swapped to outfit a character with different items and effects. Animations can be reused for characters that look different, saving countless hours.
  • Mixing Animations can be blended together. For example, a character could play a shoot animation while also playing a walk, run or swim animation. Changing from one animation to another can be smoothly crossfaded.
  • Procedural animation Bones can be manipulated through code, allowing for effects like shooting toward the mouse position, looking toward nearby enemies, or leaning forward when running up hill.
44 questions
0
votes
2 answers

Tween color overlay of Spine animation

Im using Unity3D and character animations imported from Spine. I want to add a color overlay over those characters. For example, I have one character, I want to make it a "shadow" character, so I add the black color over it in this…
David TG
  • 85
  • 3
  • 10
  • 33
0
votes
1 answer

How to get Pixi Particles to behave properly when set as a child of a slot inside of a spine animation

protected createParticleAnimation ( data: IAnticipationParticle ): particles.Emitter { let particleResource = PIXI.loader.resources[ data.name ].data; let particleImages: Array = new Array(); let container = new…
Derek Lawrence
  • 1,551
  • 2
  • 16
  • 36
0
votes
0 answers

phaser/spine - play first animation just once when I play two animations continuously

var itemshop_idx = { idle:1, out:2, in:3 }; spine_itemShop.state.onComplete = function (trackIndex) { switch(trackIndex){ case itemshop_idx.in://in spinePlay_1(spine_itemShop, "popup_item_shop_idle",…
ggumak
  • 1
  • 1
0
votes
1 answer

How to use SkeletonJson.readSkeletonData?

I Got a problem when I used SkeletonJson.readSkeletonData in my code. public void create() { camera = new OrthographicCamera(); batch = new PolygonSpriteBatch(); // Required to render meshes. SpriteBatch can't render meshes. renderer =…
0
votes
1 answer

How do you change skins with spine? libgdx

Is there anyway to change skins programatically using the spine-libgdx runtime? If not, is there at least a way to remove individual body parts or add them?
Lucas B
  • 338
  • 4
  • 14
0
votes
1 answer

How to build spine for 3d model

I have a set of 3d shapes with 2 or 3 borders like it's shown bellow. There is no problem to find and build edge paths (highlighted green), but I need also to find arbitrary paths (magenta spines) connecting these borders. Is there any algorithm…
VVK
  • 435
  • 2
  • 27
0
votes
1 answer

Three.js How to make Object3D looks at near of view frustum not a point or render like sprite?

I'm a newbie about 3D programming. I'm trying to use three.js and Spine to render 2D-Characters on 3D-Space. And I want to render Mesh as Sprite. It means objects look at near view with parallel always not a camera's point with lookAt()…
Klaude Yu
  • 53
  • 7
0
votes
1 answer

Spine Animaitons - Get the bone from an arm to follow the mouse

I am trying to get the arm in the spine animation to follow the mouse so it looks good when I shoot, here is an example of what I want it to do but using spine: https://www.youtube.com/watch?v=eofB2Z4-00w I have been looking through the code trying…
Zyler F
  • 1
  • 1
0
votes
1 answer

Reusing parts of animation from Spine in Unity

I'm new with Spine animation software, so if anyone has any experiance, I was wondering if it was possible to reuse parts of different animations of the same character. If I want to have a character pointing a gun in a certain direction while…
0
votes
1 answer

NGUI Object zOrder with Spine zOrder issue

I have the following scene structure SpineHero has order in Layer = 1, and when run, I have SpineHero is over NGUIHero and NGUIVS I want to make the zOrder: NGUIVS - SpineHero - NGUIHero, but I don't know how. If I change order in Layer of…
Mục Đồng
  • 216
  • 1
  • 12
0
votes
1 answer

How do change Spine animations in Unity?

I have a conditional if then statement running where I want the animations to change if a certain condition is met. For some reason when it starts, the correct animation plays, but when it is changed the animation doesn't change. The code is…
Tim Cooley
  • 749
  • 4
  • 19
  • 38
0
votes
1 answer

How do I color both the left and the right images on an animation in Spine through Unity?

I have a problem where only one side of my animation is being colored. I am using the following code: teamCrowdNoneColor.skeleton.FindSlot ("torso").SetColor (teamNoneColor); teamCrowdNoneColor.skeleton.FindSlot ("sleeve").SetColor…
Tim Cooley
  • 749
  • 4
  • 19
  • 38
-1
votes
1 answer

How export animation from Spine to body from Box2D

I have a problem: I will have animation, created in Spine. Spine can export animation in JSON and atlas file. I found many Spine runtimes for add animations to many game engines, but didn't find for Box2D. Can you help me? Where I can will find this…
Ryder95
  • 15
  • 4
1 2
3