I did a module for CoronaSDK that helps you to quickly implement Spine animations into a Corona App/Game. Originally I made it only for myself, but I decided to add a few extra methods to make it more useful.
I also made an online course (paid) that teach you everything from designing a basic character in Photoshop to animating it in Spine and finally displaying the animating character in your app. The course is optional, just the free module and its documentation should be more than enough to help you with the implementation of your Spine Animations.
This is the first module I share with the Corona community so I hope you find it useful, and I appreciate any feedback you can provide to make it better
Hey Ed!, thanks a lot for taking a look at my code, I’m a fan of SSK and your other modules and of course Spine as well. I used your SSK library while I was making the library
Just a quick comment, I made a couple of edits to Spine’s Corona Runtime, but I tested it with my version and everything works well, so if you find problems using the latest Runtime from Esoteric Software, just use the one I’m including in the downloads.
The code has only been used by me and other Corona developer from New Zealand who encouraged me to add features, so I’m sure it has bugs, if you find any or want me to add something please let me know.
Yes, I almost always use the latest Spine runtimes, so if I run into problems I’ll let you know. As I said before, I’m looking forward to giving this a test drive. From the methods you listed on your site, I can see it will help me a lot in some upcoming work.
If you look at the set up of his demo files, you can see where to put which files. I put everything in sub folders, just have to change the table where the files are.
In the pdf there is a bit of an example.
The example file doesn’t do anything I think, but it at least shows you where to have your files.
You do not need to export atlas or png files from spine only the json.
You add the files you used to create the spine animation to texture packer. And only use the texture packer files for the animation images. Don’t change the names you used for the image files.
If you place everything in the root of your app (it might get messy) you will only need to enter the file names in the needed table (see format options in the pdf file or his example main.lua)
If you do put everything in a subfolder the file location for: texturePackerLuaFile will need a “.” instead of a “/” as a separator.
Thanks for the explanation. Yes i think youre right. I just do some research, download texture packer. Seem that we must pack our images in texture packer first, and then we put piece by piece in spine. I just wondering because the pdf that explain how to use it is not to clear. exspecially if we never use spine not texture packer before. i suggest to make document easier, and also, the download process easier.
@hiccastudios, Juf Jannie is correct, you need to pack your images with Texture Packer and from Spine all you need is the json file.
Matrix.lua is an essential file as SpineHelper won’t work without it, you can find it in the sample project.
I’ll try to shoot a quick video tutorial later in the week to illustrate how to make it work from scratch, and I’ll add reference of matrix.lua in the documentation as I think I forgot to mention it.
yes we should be able to put it on a scene group, let me include it in the video tutorial I’ll shoot for later this week. I still have a day job so most likely it will be ready over the weekend
Hector, I see in your videos you use a collar mic. You shouldn’t need to ad so much noise reduction if the mic is set correctly. it will improve the sound quality a lot. Or use less compression on the audio. A higher bitrate or 96Khz at least. You seem to have put a lot of effort in the videos, would be a shame if the sound lets you down.
Wow @Juf Jannie thanks a lot for helping other users of my module, I really appreciate all your help, and thanks for the advice on the videos, yes you are right, I think I overused noise reduction in my attempt to get rid of all of it. Sometimes I can go crazy fine tuning the editing of the videos.
@hiccastudios Images seem to be very big, so my gut feeling tells me that maybe the problem is the texture size. If I remember correctly, the maximum texture size of an iPhone 5 is 2048x2048 and just the most recent iPads support double of that. I would recommend you try to implement animations with images that are smaller and see if that works.