The selected resource (SpineSkeletonJsonDataResource) does not match any type expected for this property (SpineAnimationStateDataResource).
Closed this issue · 4 comments
pegasusearl commented
rayxuln commented
Did you assign a SpineSkeletonJsonDataResource type resource to a SpineAnimationStateDataResource type property?
pegasusearl commented
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?
rayxuln commented
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'])
scottkunkel commented
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 ***@***.***> 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.