お世話になります。
当方デザイナーなのですが…
spineから出力されるテクスチャーの一部をプログラムで差し替えたいと考えています
例でいうと[武器を持っているキャラの武器のみ差し替えたい]というイメージです。
武器は後々追加されていくのでアニメーションでの切り替えではなくその部分のテクスチャーだけをプログラムで差し替える構造にしたいと考えています。
https://tech.griphone.co.jp/2018/12/16/advent-calendar-20181216/
ネットで見かけたこちらのTIPSが使えれば解決しそうなのですが添付のエラーが出てしまっております。
そこで
1、上の例にかかわらずその他の方法で一部のテクスチャーを動的に差し替える方法があれば教えてくださいませ!
2、もしくは下のエラーの解決方法がわかりそうでしたら教えてくださいませ!
どうぞ、よろしくおねがいします!
Stranica: 1/1.
umeko
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
2 years ago
- umeko
- Postovi: 6
Harald
何をしようとしているのか完全に理解できません。スケルトンのアタッチメントを別のものに交換したいだけなのでしょうか?これは
上記で問題は解決しましたか?もし解決していない場合は、現在の状況と結果として何が欲しいのかを別の言葉で説明してください。
-----
I'm afraid I don't completely understand what you are trying to achieve. Do you only want to replace an attachment of a skeleton with a different one? This is demonstrated in the
Does the above solve your problem? If not, could you please explain in different words and some screenshots what your current status is and what you would like to have as a result.
Spine Examples/Other Examples/Mix and Match
と Mix and Match Equip
のサンプルシーンで実証されています。これらの例で使用されているスクリプトは、使用済みのアタッチメントを新しいアトラスイメージとして再パックする方法を示しています。上記で問題は解決しましたか?もし解決していない場合は、現在の状況と結果として何が欲しいのかを別の言葉で説明してください。
-----
I'm afraid I don't completely understand what you are trying to achieve. Do you only want to replace an attachment of a skeleton with a different one? This is demonstrated in the
Spine Examples/Other Examples/Mix and Match
and Mix and Match Equip
example scenes. The scripts used in these examples also show you how you can re-pack used attachments as a new atlas image. Does the above solve your problem? If not, could you please explain in different words and some screenshots what your current status is and what you would like to have as a result.
2 years ago
-
Harald - Postovi: 4101
umeko
ありがとうございます!確認してみます。
2 years ago
- umeko
- Postovi: 6
Mark topic unread
• Stranica: 1/1.
Natrag na 日本のSpine ユーザー
- Vremenska zona: UTC