What is Spine?

  1. You control the speed by where you set the keys in the timeline. The timeline uses 30 frames per second, so frame 30 is 1 second, frame 60 is 2 seconds, etc. You can drag a box in the dopesheet around all keys, then drag the edge of the box to retime the whole animation longer or shorter. The scaled keys may fall on non-integral frames, which will work fine but may make editing the new key positions a little tricky. Hold shift while dragging a key or the edge of a selection box to not snap to frames.

  2. I’m just the coder. :wink: I’ll let Shiu (the artist) answer this one.

  3. Output can be a number of things: video, png/gif/jpgs, JSON, or binary. For Corona you can export as JSON then use the Spine runtime to load the JSON and individual images and also draw it in Corona exactly as it appears in Spine. [import]uid: 221023 topic_id: 35759 reply_id: 142293[/import]

(From Shiu)
I find the easiest way to cut out the pieces is to use layer masks.

  1. Combine all your layers into a single layer (don’t delete the original)
  2. Paint a layer mask for each part you want shown and if you need to edit the image a bit just do so on the same layer, you just need to make sure you keep the original.
  3. Export each layer as a separate image.

And also a small photoshop script you can bind to an action so you can quickly export out each layer as a PNG file.
https://dl.dropbox.com/u/18870395/exportPNGwithLayerName.zip
I’ve created three actions using this script and bound them to three different function keys.
F4 exports at 25% scale
F5 exports at 50% scale
F6 exports at 75% scale

If you need more help, let me know and I’ll try to supply some screenshots etc. Just a tad bit busy right now :slight_smile: [import]uid: 221023 topic_id: 35759 reply_id: 142296[/import]

THANKS. Exactly what I was looking for! Thank you for the taking the time and sorry my questions were obvious!

Mo [import]uid: 100814 topic_id: 35759 reply_id: 142297[/import]

Hey esoteric software
I bought spine a couple of days ago and tried the corona runtime. You did a great job! I have been looking for this kind of software for a long time. Spine does what spriter never really managed to pull off. I highly recommend spine to anyone in the corona community. It’s simple, well designed and works really well with corona. ( and by the way I don’t know the people behind esoteric software :slight_smile: )
Thanks!

[import]uid: 13632 topic_id: 35759 reply_id: 142301[/import]

Blown away, you guys are doing some really great stuff. I am a backer of the kickstarter and can’t wait to see what else you guys come up with! Also I highly recommend Spine to everyone in the Corona Community. If you don’t know what it is, take a sec to look at their site and/or kickstarter page. [import]uid: 58885 topic_id: 35759 reply_id: 143142[/import]

Hey guys,

Very cool tool!

Congratulations on your successful kickstart, it was good to see both of you with Charles in the Corona Geek episode.

skeleton.flipX …really nice there!

I Played with Spine all evening tonight and was able to export and view my project in the simulator by modifying the included main.lua. which was extremely helpful.

I realize you guys are very busy, but I’ve got a couple questions if you can find time.

I looked over your board and didn’t see my issues discussed.

I can’t figure out how to completely hide the bones. I’ve disabled the bones “eye” in the Spine tool, but now I’ve got a fine red line representing the bone. When I scale down the export, these lines extend beyond the scaled down animated body parts.

How can I completely “hide” the bones on export?

I also can’t figure out how to “hide” the bones pivots joints, they appear as chartreuse dots in the exported animation, obviously these need to go too.

It seems the alpha for both the red lines and green dots could be set to “0”, I just don’t know where to do it.

Thanks,

Nail [import]uid: 106779 topic_id: 35759 reply_id: 142474[/import]

Hi Nail, glad you were able to get productive relatively easily. :slight_smile: To not draw the lines on top of your skeleton, just set skeleton.debug = false (or don’t set it at all). [import]uid: 221023 topic_id: 35759 reply_id: 142481[/import]

Thanks Nate,

I noticed that variable was set to true, but obviously didn"t try changing it to false, my bad.

May I suggest you add comments after each variable declaration in the main.lua briefly explaining what what they control. I’m sure it would help others also that are new to Spine.

I did try setting the boolean in the Runtime listener to false which set the loopAnimation = false.

I’ve never been able to produce quality custom sprites or been able to afford having them built for me, Spine has removed that barrier and now I can start using high quality animations throughout my projects, I am stoked.

Thanks again for the amazing tool.

Nail [import]uid: 106779 topic_id: 35759 reply_id: 142510[/import]

Thanks, I’m really glad Spine is useful for you. :slight_smile:

I added some comments. :slight_smile: [import]uid: 221023 topic_id: 35759 reply_id: 142528[/import]

Is is possible to swap images in the timeline?
e.g. for a eye blink.
[import]uid: 13632 topic_id: 35759 reply_id: 142535[/import]

Sure, set a timeline position then change the visible image in the tree for a slot. A yellow dot will appear in the key column for the slot, indicating an un-keyed change has been made. Click the dot and it will change to red to indicate a key has been set. [import]uid: 221023 topic_id: 35759 reply_id: 142551[/import]

Great thanks.
[import]uid: 13632 topic_id: 35759 reply_id: 142563[/import]

Blown away, you guys are doing some really great stuff. I am a backer of the kickstarter and can’t wait to see what else you guys come up with! Also I highly recommend Spine to everyone in the Corona Community. If you don’t know what it is, take a sec to look at their site and/or kickstarter page. [import]uid: 58885 topic_id: 35759 reply_id: 143142[/import]

Blown away, you guys are doing some really great stuff. I am a backer of the kickstarter and can’t wait to see what else you guys come up with! Also I highly recommend Spine to everyone in the Corona Community. If you don’t know what it is, take a sec to look at their site and/or kickstarter page. [import]uid: 58885 topic_id: 35759 reply_id: 143142[/import]

Blown away, you guys are doing some really great stuff. I am a backer of the kickstarter and can’t wait to see what else you guys come up with! Also I highly recommend Spine to everyone in the Corona Community. If you don’t know what it is, take a sec to look at their site and/or kickstarter page. [import]uid: 58885 topic_id: 35759 reply_id: 143142[/import]

Just wanted to chime in and say thank you for creating Spine, especially with support for the Corona SDK community. I was an early backer and I hope to use it in an upcoming project.

That being said, there was another 2D animation tool that came out a few months before on Kickstarter called Spriter. I was a backer of that one, too (paid double the price of Spine!), and it looks like it’s been dead in the water or really slow going since the developer had some medical issues back in January 2013. If the guy ever gets around to finishing it, I may never even get to touch it. Forgive me if I sound bitter, but I consider it money lost, so I’m not going to even bother providing a link to it.

But, onward and upward! Hats off to you for providing a more complete product, within respectable timeframes, and with those stretch goals that everyone is mutually appreciative of.
[import]uid: 6084 topic_id: 35759 reply_id: 145840[/import]

Just wanted to chime in and say thank you for creating Spine, especially with support for the Corona SDK community. I was an early backer and I hope to use it in an upcoming project.

That being said, there was another 2D animation tool that came out a few months before on Kickstarter called Spriter. I was a backer of that one, too (paid double the price of Spine!), and it looks like it’s been dead in the water or really slow going since the developer had some medical issues back in January 2013. If the guy ever gets around to finishing it, I may never even get to touch it. Forgive me if I sound bitter, but I consider it money lost, so I’m not going to even bother providing a link to it.

But, onward and upward! Hats off to you for providing a more complete product, within respectable timeframes, and with those stretch goals that everyone is mutually appreciative of.
[import]uid: 6084 topic_id: 35759 reply_id: 145840[/import]

My main grudge with Spine is that the Essentials License doesn’t include Inverse Kinematics otherwise i would buy it tomorrow.
The Full package seems way overpriced. No problem if you’re an indie studio

My main grudge with Spine is that the Essentials License doesn’t include Inverse Kinematics otherwise i would buy it tomorrow.
The Full package seems way overpriced. No problem if you’re an indie studio