MikalDev

Another C3 release, now with documentation on the drawing plugins. The Spriter team is also working on a plugin for C3 now, hopefully Spine can have one also in the near future.

Details in this thread:
https://www.scirra.com/forum/drawing-plugins-now-supported-in-r68_t197970
MikalDev
Posts: 9

badlogic

Thanks for the update, I saw the new C3 release as well. Currently, it's not possible to draw textured triangles, a feature required so mesh attachments can be drawn: https://www.construct.net/at/make-games/manuals/addon-sdk/reference/graphics-interfaces/iwebglrenderer

Scirra also requires plugin developers to use their sprite sheets implementation, which makes sense. However, that would require us to be able to create sprite sheets on the fly programmatically from the atlas format Spine exports. I can not find an API to create sprite sheets on the fly. The alternative, and I think that's also what Spriter does, is to have users setup sprite sheets manually. That's a pretty terrible workflow we don't really want to push on our users.

I'm afraid we'll have to wait for future updates.
User avatar
badlogic

Mario
Posts: 1375

MikalDev

Thanks for the feedback and for looking into it. I cross posted this response to the C3 Forum, just to show the love for Spine to hopefully move things along.

I understand the comment about tex tris and Mesh/FFD is an essential part of Spine, so obviously you need any necessary support for Mesh before a runtime makes sense. Did the C2 API support this? (See below on C2 Spine plugin.)

Also, I imagine you are well aware, but there is an unofficial/unmaintained Spine Plugin for C2 the notes say that it supported Mesh/FFD (with Github source). I never tried it, it looks like development has stopped on the github.

Here's a C2 demo of the plugin it looks lilke FFD/Mesh is supported (isn't the tail animation using FFD/Mesh?)

On the spritesheet side, I am probably out of my depth in terms of Spine/Spriter details, but in the Spriter/Construct flow, I don't remember anything about manually doing spritesheets, the flow felt pretty automatic. Here's the tutorial I used in the past, perhaps you can check if this manual method was needed. You just need to watch the first few minutes for the export/import stage (the rest is about controlling the Spriter plugin animations, etc. once it has been imported.)

Spriter C2 Import Video

---

Some active discussion on C3 and Draw plugins (Spriter/Spine/Creature) going on on the C3 forum, I imagine they could use input from the Spine leads about what's needed for Spine.

https://www.scirra.com/forum/drawing-plugins-now-supported-in-r68_t197970?&start=10
MikalDev
Posts: 9

badlogic

I've posted on the Scirra forums, but it turns out that Lucid already said pretty much all that's needed. Let's wait and see.

edit: also, regarding the import workflow, IIRC, Spriter had some special access that allowed them to do it more fluently. I might be totally wrong on that one, been a while since I checked.
User avatar
badlogic

Mario
Posts: 1375

MikalDev

It looks like Lucid was able to use what is in the latest release of the C3 SDK to get a addon for Spriter up and running in C3, so that's a good sign that the SDK is ready for the non-Mesh/FFD style animation. I tried it on C3 with the test plugin and it works. I am not sure if Spine can start with a addon without Mesh/FFD to get the overall flow working or not... (of course Mesh/FFD is one of killer features of Spine, so it would of course need to be supported eventually anyway.)

https://www.scirra.com/forum/test-spriter-c3-addon_t198037
MikalDev
Posts: 9

badlogic

Yep, looks like we can get non Mesh/FFD going.
User avatar
badlogic

Mario
Posts: 1375

MikalDev

Reading further into this thread and response to my query it looks like Mesh/FFD is also possible using quads/degenerate quads to render meshes? I think the original unofficial Spine plugin supported Mesh/FFD in this way? So all the tools are there for a runtime? Can it get started?

https://www.scirra.com/forum/viewtopic.php?f=196&t=197970&start=20
MikalDev
Posts: 9

badlogic

Theoretically yes, but it will be terribly slow and potentially broken ala our experimental mesh support in spine-ts canvas.

It will take a bit for us to get started on Construct 3 as we are working on other features at the moment.
User avatar
badlogic

Mario
Posts: 1375

MikalDev

Some other news on C3, the custom importer SDK API is rolling out, which is hopefully good news for a C3 Spine plugin and importing Spine data files into a C3 project.

https://www.construct.net/make-games/releases/beta/r76

Even get a Spine name check in the release notes:

"The intent is for software like Spriter and Spine (which handle 2D skeletal animation) to write and maintain their own file format importers."

Tech details here:

https://www.scirra.com/forum/custom-importer-api-now-available_t199315
MikalDev
Posts: 9

badlogic

Nice, I saw the release notes. We're still working on a bunch of big features atm, so we'll likely not start C3 integration before the end of Q1.
User avatar
badlogic

Mario
Posts: 1375

Crocodilum

That made my day. Can't wait the big day when it'll work.
User avatar
Crocodilum
Posts: 132

tatogame

Sooo... any news or estimated time on that?
tatogame
Posts: 1

badlogic

No news, C3 is currently not a priority for us I'm afraid.
User avatar
badlogic

Mario
Posts: 1375

Kent2D

A couple days ago the entry request for a native way to implement Spine animations in Construct 3 has been marked as "Shipped". ( https://construct3.ideas.aha.io/ideas/C3-I-126 )
Admin Response

As of r109, we believe there are now enough features available in the Custom Importer API for tools like Spriter to be able to write and maintain their own importers as third-party addons. This is available to any tool such as Spriter, Spine, Dragon Bones, and any others. It removes the need for the developers to get us to implement formats they've designed themselves. Since we've done our part and it's now up to third-party developers to use the available APIs to create importers, we're marking this feature as 'shipped'.
Written by Ashley from Scirra.

I understand it's not a priority as of this momment, but maybe it could be revised ? This is fresh news. :) who knows something might have changed.
User avatar
Kent2D
Posts: 2

badlogic

Good news. I'll have a look into what API they offer. I added the link to the Construct 3 issue on our tracker here [c3] Add support for Scirra Construct 3 · #762
User avatar
badlogic

Mario
Posts: 1375

Kent2D

Any updates/news/curiosities to share, @badlogic ? :) Excited to know you guys have been looking at it!~ curious to know if Scirra's API is viable or if it imposes some kind of problem or whatnot.
User avatar
Kent2D
Posts: 2

badlogic

I'm afraid I haven't had time to look into it yet. Please follow the GitHub issue for updates.
User avatar
badlogic

Mario
Posts: 1375


Return to Runtimes