droptimal

We use a spine template that lets us import in a 1x1 mask and a mask force that allows us to resize the bone and set a specific output size. We simply import it as a skeleton and drag and drop the bone into our main skeleton and resize the slot. Since v3.8.13beta this process will not work. If you drag in the bone, the mask is broken and can no longer be resized. In order to get around this we now must create a bone in the main skeleton and import the slot instead. It's not a big issue but it's weird and concerning of what other things might be broken. We also tried importing in to the skeleton, which also does not work and creates a duplicate of the slots children.

Here's a copy of the file we use. simply follow the instructions to recreate the issue. Then to see how it should work, create a bone in the main comp you're working in, then drag the mask and the mask force slot into that bone.

As a side note, this is a REALLY useful file if you need to make a pixel perfect mask or generate files at a specific size (it both expands and contracts the area to a set value). In order to make a perfect square mask you have to write it in json and import it, it can't be done with the editor. Maybe this can be a feature that is added?
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
droptimal
  • Beiträge: 19

Erikari

Hello! the accepted Json format was changed in Spine 3.8.13:
This happened to allow Spine to import new assets exported with the PhotoshopToSpine script directly inside the skeleton, populating the correct slots and creating new skins where necessary.
This required a change in the json format, therefore the new json format can't be imported in older versions. The same goes for the reverse: the new import requires jsons to be created following the new format. You can try the new PhotoshopToSpine script here: spine-scripts/photoshop at 3.8-beta · EsotericSoftware/spine-scripts

As a little workaround I suggest to import the mask in an older version of Spine, save a project, upgrade Spine, then export a JSON to use as new mask base.
Benutzeravatar
Erikari

Erikari
  • Beiträge: 2006

Shiu

Please note that Spine 3.8.14-beta now also supports the old JSON format.
Benutzeravatar
Shiu

Shiu
  • Beiträge: 2382


Zurück zu Bugs