Closed pegasusearl closed 3 years ago
Did you assign a SpineSkeletonJsonDataResource type resource to a SpineAnimationStateDataResource type property?
eeeeeh... I thought that thing means the spine json file. ah sorry my bad. Now I found the way to use it. Thank you for the module sir.
one more question
Compiling godot for debug (-Od flag) will severely impact performance Compile with -O2 flag for godot engine and run linker can double fps
But how do I input the flag?
You can learn the details from https://docs.godotengine.org/en/stable/development/cpp/binding_to_external_libraries.html
Import('env')
env_tts = env.Clone()
env_tts.add_source_files(env.modules_sources, "*.cpp")
env_tts.Append(CCFLAGS=['-O2']) # Flags for C and C++ code
env_tts.Append(CXXFLAGS=['-std=c++11'])
You don’t have to worry about this. The spine component gets compiled with the right flags. It’s overwriting the defaults.
Thomas
On Sep 3, 2020, at 10:31 PM, pegasusearl notifications@github.com wrote:
eeeeeh... I thought that thing means the spine json file. ah sorry my bad. Now I found the way to use it. Thank you for the module sir.
one more question
Compiling godot for debug (-Od flag) will severely impact performance Compile with -O2 flag for godot engine and run linker can double fps But how do I input the flag?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I tried to export with either binary and json but still not working. I export with default settings + packing atlas. I'm using spine 3.8.97 ESS