Custom Importer API now available

For discussion and help with the Construct 3 Plugin SDK

Post » Mon Jan 08, 2018 5:14 pm

In Construct 3 r76, we've added the first iteration of the Custom Importer API. The intent of this API is to allow plugins to import custom data formats in to C3 projects, in particular, skeletal animation formats. The API is designed to be general purpose, and it should allow the developers of these formats to maintain their own importers themselves, without having to go via Scirra.

To get started, download the plugin SDK v1.2 and check out the customImporterPlugin sample. Download the Custom Importer API sample data further down the page too. If you then install the plugin, then drag-and-drop the sample data .zip to an empty layout, it should create and position three sprite instances based on the data in the zip. It's pretty basic but hopefully it's enough to demonstrate the principle of reading a custom data format.

The current API is definitely a minimum-viable-product, and I expect we'll have to add many more API interfaces to fully support skeletal animation formats. So for that I'm interested to hear back from any other developers what kinds of other APIs that are needed. All currently available APIs in r76 are already documented - the starting point is SDK.UI.Util.AddDragDropFileHandler(). If it's not documented, we haven't added it yet, so please add it to your request list.

Please let me know how this works out for you! Tagging some developers who may be interested: @lucid @badlogic @kmoon11
Scirra Founder
B
405
S
239
G
91
Posts: 24,765
Reputation: 197,456

Post » Sat Jan 13, 2018 6:14 pm

Thanks @Ashley - will take a look
Spriter Dev
B
102
S
22
G
12
Posts: 3,279
Reputation: 17,114


Return to Plugin SDK

Who is online

Users browsing this forum: No registered users and 0 guests