liunliun

hello everyone,i m going to make a game with two direction like the picture,i was trying to set the two direction in one project but with two skeletons,so that i can have a reference when making animations.
QQ图片20200507140932.png

"People_0_b" is back direction,"People_0" is front direction,and each of the direction have its own skins,for example,back direction has four skins "body_0_f"(include slots: body+arm_l+arm_r+leg_r+leg_l) "head_0_f"(include slots:hair+head)
"shirt_0_f"(include slots shirt) "pants_0_f"(include slots:pants_l+pants_r+hip) vice verse.
so first question is that is my workflow correct?i know we can set two direction with a single skeleton,but the workteam's tutorial said if new in spine,the best to set skeleton for each of the direction,so i made it.
and second question is how can i use the photoshopToSpine script to export with two skeletons? i have tried everything i can do but still not work.as you can see the layer in photoshop.

QQ截图20200507141535.png

thanks for replying!
У вас нет необходимых прав для просмотра вложений в этом сообщении.
liunliun
  • Сообщения: 20

Erika

Hello liunliun,
liunliun писал(а): is my workflow correct?
I would maybe change the name of the skins so that they are the same even if the direction is different, but this is minor. So this setup could work!
Don't forget to put the root back at the origin to 0,0 when you are done!
liunliun писал(а):how can i use the photoshopToSpine script to export with two skeletons? i have tried everything i can do but still not work.as you can see the layer in photoshop.
You can't export for two separate skeletons using one json. If you export one json, you're inevitably going to get the images of both skeletons inside.
The easiest way is to delete one direction folder, export, rename the json so you know it's for that direction. Then you undo the deletion of the folder, and delete the other direction instead.
The result will still be one single images folder, but thanks to the two separate jsons, you will only get the relevant images in the correct direction.

I hope this is clear, but let me know if you need further clarifications! :D
Аватара пользователя
Erika

Erikari
  • Сообщения: 2554

liunliun

Erika писал(а):Hello liunliun,
liunliun писал(а): is my workflow correct?
I would maybe change the name of the skins so that they are the same even if the direction is different, but this is minor. So this setup could work!
Don't forget to put the root back at the origin to 0,0 when you are done!
liunliun писал(а):how can i use the photoshopToSpine script to export with two skeletons? i have tried everything i can do but still not work.as you can see the layer in photoshop.
You can't export for two separate skeletons using one json. If you export one json, you're inevitably going to get the images of both skeletons inside.
The easiest way is to delete one direction folder, export, rename the json so you know it's for that direction. Then you undo the deletion of the folder, and delete the other direction instead.
The result will still be one single images folder, but thanks to the two separate jsons, you will only get the relevant images in the correct direction.

I hope this is clear, but let me know if you need further clarifications! :D
thank you very very much Erika! i just do my work what you said ,its work very nice! thank you so much and have a good day!
liunliun
  • Сообщения: 20


Вернуться в Editor