Hi Hector,
First animation works. i scale down the images.
But second one is not working again. Images is already small too.
so its looks like only load 1st images only. very strange
Hi Hector,
First animation works. i scale down the images.
But second one is not working again. Images is already small too.
so its looks like only load 1st images only. very strange
found the problem.
PATH in Spine
Hi guys,
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.
1.- You can watch the video here: https://www.youtube.com/watch?v=5E-SPPJU0S8&feature=youtu.be
2.- In case you haven’t downloaded the module, you can get it from here: http://www.spinehelper.net
Regards
Hector
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.
Thanks for this. I just downloaded it and am looking forward to digging into it. Spine rocks and anything folks do to help others use it, also rocks!
-Ed
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.
Regards
Hector
I’m glad to hear SSK was useful.
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.
Cheers,
Ed
Hi, i wondered how to use your module. i have download and try to use it,
but theres some error :
module ‘matrix’ not found:resource (matrix.lu) does not exist in archive
no field package.preload[‘matrix’]
Matrix is in the zip file you can download from his site.
Haven’t run everything yet. But I did see a matrix file.
i found the matrix file. and then, where to create spritesheet lua ? and texture packer lua files ?
because i use spine, the output is json, images, and atlas files.
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.
Hi Juf Jannie,
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.
thanks
@Juf Jannie, thanks for the explanation.
@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.
Regards
Hector
Hi,
yes Hector. i think you should write in documentation for first timer.
thanks for your very usefull module
i have another question. can we put spine object in a scene group ?
thanks
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
Regards
Hector
Hicca, take a look at that pdf that is included and at the table that is in the main.lua.
There is a line that asks for the group name, it is even default at sceneGroup.
You can name any group you want and insert it in to that.
Even have a sub group and insert that in to the sceneGroup, if you use composer.
The pdf is just a few pages even though it is almost 37 MB.
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.
oh sorry my bad. i should have read it more carefully. i will check again.
thanks