Open jackwlee01 opened 10 years ago
I hadn't heard of Spine, but it looks cool. From a quick scan of the json format description that you linked to, it does seem like Flump could map onto Spine (though Flump is lacking some of Spine's features, like skinning and draw-ordering).
It certainly seems worth a try; making a converter that acts on the Flump output seems like a reasonable way to go. Let us know if you have success!
:+1: I just made GPU patch for pixi-spine, so If someone makes converter, it will be possible to run flump in web without performance drop
I took a look at both formats a while ago, and I didn't have much luck mapping from Flump to Spine. Specifically I couldn't find a way to map nested Movieclips. I still think it may be possible, but my knowledge of Spine and its runtime is too limited.
I dont think its possible, spine doesnt have that thing, and skins have different meaning
Oh wait. May be its possible to change attachment every frame
It has been a while since I looked into it, but I was thinking the nesting could be achieved through flattening the Movieclips during the conversation stage and supplying to Spine the absolute coordinates (as apposed the nested child coordinates relative to its own parent).
On Fri, Nov 20, 2015 at 9:59 AM, Ivan Popelyshev notifications@github.com wrote:
Oh wait. May be its possible to change attachment every frame
— Reply to this email directly or view it on GitHub https://github.com/tconkling/flump/issues/119#issuecomment-158238259.
Also, I came across this thread in my initial research: http://esotericsoftware.com/forum/viewtopic.php?p=6670#p6670
I thought at as long as skeletons could be bound as bones to other skeletons this mean that nesting is possible at runtime.
On Fri, Nov 20, 2015 at 10:10 AM, Jack Lee jackwlee01@gmail.com wrote:
It has been a while since I looked into it, but I was thinking the nesting could be achieved through flattening the Movieclips during the conversation stage and supplying to Spine the absolute coordinates (as apposed the nested child coordinates relative to its own parent).
On Fri, Nov 20, 2015 at 9:59 AM, Ivan Popelyshev <notifications@github.com
wrote:
Oh wait. May be its possible to change attachment every frame
— Reply to this email directly or view it on GitHub https://github.com/tconkling/flump/issues/119#issuecomment-158238259.
Wow, didnt know that thing. I doubt that js runtime supports it, but I can do something about it. Then it'll be possible to run it in pixi.js :)
I would love to be able to use Flump with the huge variety of Spine runtimes. Has there been any discussion about exporting from Flump to the Spine JSON format?
http://esotericsoftware.com/spine-json-format
Comparing the two formats I think it might be possible to map the Flump output to Spine. I was considering initially just making a parser to convert one format to the other. Do you think it would be possible to utilize the parsed Flump output in a completely different runtime such as Spine?