常见导入问题解答 - spine-unity教程

November 9th, 2022

将骨架导入到Unity时遇到了问题?请观看此视频,其中介绍了导入到Unity过程中的一些常见问题及其解决办法。

Bilibili

当导入到Unity中出现问题时,有许多可能的原因,包括不正确的Spine导出设置到Unity中的不正确设置。本视频将帮助您更好地了解导入过程中许多常见问题的正确设置。

这个视频有帮助吗? 我们希望在Spine论坛上听到您对这一视频的看法。

spine-godot breaking change

September 26th, 2022

We released our spine-godot runtimes almost 2 months ago. Since then, we've further improved the runtime based on your feedback and bug reports. Eventually, one unfortunate issue cropped up: Godot plugins and modules may fight over a generic file extension like .json when trying to import it.

This leads to issues when spine-godot is combined with other plugins or modules, like Dialogic. When both spine-godot and Dialogic are loaded into the Godot editor, one of them will be chosen by Godot to import all .json files, preventing the other from importing files with that file extension.

Godot 4.0 has introduced JSON as resource files that helps any new plugins to co-exist happily. However, since we continue to support Godot 3.5 for the foreseeable future, we have to introduce a breaking change.

Starting today, spine-godot will no longer be able to import JSON skeleton files with the .json extension. Instead, JSON skeleton files must use the extension .spine-json. This change will apply if you download the latest pre-built Godot editor from us, or if you rebuild your local Godot editor from the latest spine-godot sources. This applies to both the 4.1 and 4.2-beta branches in the spine-runtimes repository.

If you have an existing Godot project using spine-godot and want to update to the latest version of spine-godot, we are here to help. Here's how you can do that without issues:

  1. Backup your existing project.
  2. Make sure you have the latest Python installed and can run it on the command line by adding its bin/ folder to your PATH environment variable (only needed on Windows).
  3. Download our Python script that will convert your Godot project from using .json skeleton files to .spine-json files.
  4. Run the script on the command line, providing it with the full path to your Godot project directory, e.g. python convert.py c:\myproject

The script will then:

  1. Rename all .json skeleton files to .spine-json and delete the .json.import files. The .import files will be recreated next time you open the project in Godot.
  2. Fix the paths to all external resources of type SpineSkeletonFileResource in all your project's .tscn and .tres files.

Once the script has converted your project, you can open it with the latest Godot editor built from the latest spine-godot sources.

Discuss this post on the Spine forum.

通过示例场景开始使用spine-unity运行时

August 29th, 2022

让我们一起来探索通过Unity来使用Spine!我们的最新视频讲解了spine-unity运行时的许多功能,让您快速开始上手使用。我们将探索Getting Started(入门)文件夹中的示例场景,了解Spine运行时如何工作的基础知识,以及可以使用spine-unity运行时做什么。

Bilibili

本视频没有展示如何安装spine-unity运行时。如需安装,请查看spine-unity运行时文档

你觉得本视频有用吗?加入Spine论坛对本文的讨论吧!