- Uređeno
spine可以有效果更好的调整整体透明度的做法吗?比如我要为一个角色创建一个半透明的效果,又或是某个局部的半透阴影,但通常这需要给所有整体的插槽都打上透明关键帧,更重要的是当它们透明后,关节的穿帮部分也会跟着暴露出来,无法做到像整体降低透明度的效果。我了解在引擎中有办法实现这个效果,但有什么更好的办法在spine编辑器里解决这个问题?因为很多时候我希望在局部动画实现这种效果。
spine可以有效果更好的调整整体透明度的做法吗?比如我要为一个角色创建一个半透明的效果,又或是某个局部的半透阴影,但通常这需要给所有整体的插槽都打上透明关键帧,更重要的是当它们透明后,关节的穿帮部分也会跟着暴露出来,无法做到像整体降低透明度的效果。我了解在引擎中有办法实现这个效果,但有什么更好的办法在spine编辑器里解决这个问题?因为很多时候我希望在局部动画实现这种效果。
Unfortunately there's not a way to do this in the editor. The way a Spine skeleton is rendered in all game toolkits results in multiple overlapping images. It takes work specific to each game toolkit to render to a temporary buffer, then render that with transparency.
You could use an event to control the runtime effect. Or you could use a specific slot's alpha to control the runtime effect. For example, you might choose a large attachment, like the torso, so you can see the transparency in the editor, even though it's not the entire character. Then at runtime you would render the whole character using the transparency from that slot.