First off, thanks for getting all the requests added and bugs fixed so quickly. Everything is working beautifully. The custom import now exceeds the functionality and ease of use it had for C2.
For new SDK features, please collect a complete list of everything you need then post an issue to GitHub listing them all.
Was this just for this initial run of trying to get the basics working, or would you generally like for SDK or importer related feature requests to be submitted in this way? (as opposed to through construct3.ideas.aha.io).
I'll list the features here in case that makes a difference, and so I have easy access to copy paste them to the appropriate place.
Make first party plugin ACEs and IDs public
This would be mainly for plugin developers to be able to easily create and create events for built-in object types.
The needed items would be:
- The plugin id (for creating an instance)
- The id for each ACE entry
- The parameter list for each ACE entry (the id, the type, and the id's for combo items)
This would allow a ton of flexibility and power to the SDK. The listed items are all that I believe would be necessary, but if it's more feasible to just publish the entire aces.json that would still serve the same function.
Methods for retrieving instances of a type within a project or scene
If it's the only possible one, being able to retrieve the instance of a single-global object like the Audio plugin would be immediately useful. For instance, I was going to make the import process automatically setup audio events if the Spriter project contained sound files, but aside from not being able to figure out the combo id's for the Play (by name) action, I have no way of checking if an Audio object already exists in a scene to use that.
I would imagine that GetFirstInstance or GetInstances for non-single-global object types would be useful down the line, but I don't have any immediate use for that.