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.
As promised I just made this 12 minute video where I show you how to setup a basic Spine Animation starting from zero, using the free SpineHelper module. I think I had a few folders and files in the sample code that created a little bit of confusion as not all of them are required, so that’s why I decided to shoot this video, so you can see how I setup a basic animation starting from scratch. I hope it is useful.
I received a couple of questions about how to implement it in Kwik, so that video tutorial is next on my list.
Hi Hector, this is a much apreciated module to be able actually use Spine in Corona.
Question - how does SpineHelper address the use of events set up in Spine? For instance, we have a random animation player set up whereby an event starts another event.
The line you mentioned is 520 in my case. I re-downloaded SpineHelper few days ago, maybe Hector made few tweaks here and there after you got SpineHelper. It might be worth re-downloading it.
Has anyone figured out how to listen for Spine “Events” within the context of using Hector’s Spine Helper? Having some trouble figuring out exactly how to do this…
Has anyone figured out how to fix the runtime error on that “currentAnimation = state:getCurrent(0).animation.name” line in the module? For me it’s on line 522 of the module.
When I change animation with changeAnimation() I always get “Initial Animation is still running” in the console but never get runtime error. I also noticed that previous animation keeps playing for some time (2-3 secs) before transition to desired animation.
In the mean time I added remove() method because I didn’t know how to get rid of loaded testures. Improvements are welcomed
[lua]
function SpineHelper:remove(…)
self:stopAnimation()
for k,v in pairs(self.skeleton.images) do
if type(self.skeleton.images[k].removeSelf) == “function” then
self.skeleton.images[k]:removeSelf()
end
self.skeleton.images[k] = nil
end
end
My apologies for not getting back sooner. I have two good news and a bad one:
1.- I have posted the SpineHelper library along with sample codes (including Photoshop, TexturePacker files) to GitHub so everyone can contribute and make it better. You can find it here: https://github.com/CoronaDevs/CoronaSDK-Spine-Helper
2.- I also created a FREE full video course (25 lessons) that teaches you the whole process from creating and designing a character in Photoshop, creating the ImageSheet in TexturePacker, the animation of several characters in Spine, to the whole implementation in Corona, including adding interactivity to the characters created. You can find the tutorials here https://www.youtube.com/playlist?list=PLKhvt82d5sfCE6KkM1V6Bs46GG4HOguP1
3.- Finally the bad news… I’m no longer maintaining the library as I’ve been busy with other stuff in my life, but I didn’t want to leave without giving you access to the code in GitHub and the video tutorial. Feel free to make edits or create a totally new version of my code, I’m sure you can take it to a new level
Hi Hector, thanks for putting source on GitHub and videos. Could you please add license info for SpineHelper? Without it it may be blocking use of SpineHelper in some cases. Hope the community will pick up development, will you accept any pull requests or should we use our forks?
Hi there!, sure I can add license info, any idea of what good wording I could use? I think it’d be better to let everybody to use their own fork that way they can work independently of mine