diff --git a/spine-godot/README.md b/spine-godot/README.md index ee9038925..94ade6913 100644 --- a/spine-godot/README.md +++ b/spine-godot/README.md @@ -14,13 +14,13 @@ For the official legal terms governing the Spine Runtimes, please read the [Spin ## Spine version -spine-godot works with data exported from Spine 4.0.xx. +spine-godot works with data exported from Spine 4.2.xx. -spine-godot supports all Spine features. +spine-godot supports all Spine features, except two-color tinting and the screen blend mode. ## Setup -spine-godot works with the latest stable Godot 3.3 release. It requires compilation of Godot, as spine-godot is implemented as a module. +spine-godot works with the latest stable Godot 3.4 release. It requires compilation of Godot, as spine-godot is implemented as a module. To integrate spine-godot into your project: @@ -32,7 +32,16 @@ To integrate spine-godot into your project: The resulting Godot engine binary will include the spine-godot runtime. ## Example -The Spine Godot example work on all platforms supported by Godot. +Install the [software required to build Godot] for your operating system. This generally means: + +1. Git +1. A C++ compiler (MSVC, Clang, GCC) +1. Python 3+ +1. Scons + +Then execute the `setup.bat` file on Windows, or the `setup.sh` file on Linux and macOS. After the script completes, you should find the Godot editor binary in `spine-runtimes/spine-godot/godot/bin`. Run it, and open the Godot example project in `spine-runtimes/spine-godot/example`. + + diff --git a/spine-godot/setup.bat b/spine-godot/setup.bat index 761427e05..aefd59018 100644 --- a/spine-godot/setup.bat +++ b/spine-godot/setup.bat @@ -4,4 +4,4 @@ git clone --depth 1 https://github.com/godotengine/godot.git -b 3.4.4-stable xcopy /E /I .idea godot\.idea copy custom.py godot xcopy /E /I ..\spine-cpp\spine-cpp spine_godot\spine-cpp -cd godot & scons target=debug custom_modules=../spine_godot vsproj=yes --jobs=8 & cd .. +cd godot & scons target=debug custom_modules=..\spine_godot vsproj=yes --jobs=16 & cd .. diff --git a/spine-godot/spine_godot/SCsub b/spine-godot/spine_godot/SCsub index bf234472f..985c88db2 100644 --- a/spine-godot/spine_godot/SCsub +++ b/spine-godot/spine_godot/SCsub @@ -1,7 +1,6 @@ Import('env') env_spine_runtime = env.Clone() - -env_spine_runtime.Prepend(CPPPATH=["spine-cpp/include", "spine_godot/spine-cpp/include"]) +env.Append(CPPPATH=["#../spine_godot/spine-cpp/include"]) env_spine_runtime.add_source_files(env.modules_sources, "spine-cpp/src/spine/*.cpp") env_spine_runtime.add_source_files(env.modules_sources, "*.cpp")