- Editado
コマンドラインから複数のskeleton.jsonをインポートしたい。
コマンドラインから複数のスケルトンのjsonをインポートして、
.spineファイルの生成
または、.skelファイルをエクスポートしたい。
と思っております。
http://ja.esotericsoftware.com/spine-export#%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%83%A9%E3%82%A4%E3%83%B3
を見る限り、できなそうな気がしておりますがよろしくお願いいたします。
「複数のスケルトンjsonをインポート」ですが、
添付画像のような状態をイメージしてます。
A JSON or binary (.skel
) data file only contains one skeleton. If you have a JSON file and you want to export to binary:
JSONまたはバイナリ(.skel
)データファイルには、1つのスケルトンしか含まれていません。JSONファイルがあって、バイナリにエクスポートしたい場合。
spine
---
input skeleton.json
---
export settings.export.json
Please note we have fixed a but in 4.0.75-beta where this failed.
なお、4.0.75-betaでは失敗する問題が修正されています。
To import multiple data files files into the same project file:
複数のデータファイルを同じプロジェクトファイルにインポートするには、次のようにします。
spine
---
input skeleton1.json
---
output yourProject.spine
---
import
---
input skeleton2.json
---
output yourProject.spine
---
import
For each data file import you specify the input file, output file, and that you want to import. If the project file already exists, the skeleton is added to the existing file.
各データファイルのインポートでは、入力ファイル、出力ファイル、インポートしたいファイルを指定します。プロジェクトファイルがすでに存在する場合は、スケルトンは既存のファイルに追加されます。
ありがとうございます。
spine
---
input skeleton1.json
---
output yourProject.spine
---
import
---
input skeleton2.json
---
output yourProject.spine
---
import
を試してみたところ複数のファイルを読み込みプロジェクトファイルがつくれました。
しかし、アニメーションが消えてしまいました。
アニメーションもあわせて読み込むことは可能でしょうか?
ちなみに、
spine ver3.8.99
When JSON data is imported, the animations are always imported too. Can you send the JSON files and the command you are running? contact@esotericsoftware.com
JSONデータをインポートすると、必ずアニメーションもインポートされます。JSONファイルと実行しているコマンドを送っていただけますか? contact@esotericsoftware.com
ありがとうございます。
先ほどメール送らさせていただきました!
Thanks! I ran the commands with 3.8.99 and I see the skeletons do have animations, but no animation is active. You can just click the dot next to the animation in the tree to make it the active animation.
ありがとうございます。3.8.99でコマンドを実行してみたところ、スケルトンにはアニメーションがありますが、アクティブなアニメーションはありませんでした。ツリー内のアニメーションの横にあるドットをクリックすると、それがアクティブなアニメーションになります。
Inactive: Image removed due to the lack of support for HTTPS. | Show Anyway
アクティブではありません:
Active: Image removed due to the lack of support for HTTPS. | Show Anyway
アクティブです:
あぁ、なるほど、見落としておりました。
丁寧なご対応、ありがとうがとうございました!