Description:
There is a problem where the Int, Float, and String values set as event keys in the animation cannot be correctly obtained using the get_int_value(), get_float_value(), and get_string_value() methods of SpineEventData, respectively.
To be more specific, the values obtained from get_int_value() and get_float_value() will always be 0, and the value obtained from get_string_value() will be empty.
Expected behavior:
The Int, Float, and String values set for that event key can be correctly retrieved using the corresponding methods.
After extracting the .zip file, open the Godot project contained within it with Godot 4.3.
When you play back the scene, the values obtained from the event key will be printed in the Output Dock as follows:
To check the correct values, open spineboy-pro.spine-json in the spineboy folder using any text editor:
If you compare the output with the log output to the Output Dock, you will see that 0, 0, and empty values are returned where values such as 2, 0.2, and Run-1 should be returned.
The version of the spine-godot runtime in which this issue was found:
Godot 4.3 (Other versions have yet to be tested)
Description: There is a problem where the Int, Float, and String values set as event keys in the animation cannot be correctly obtained using the
get_int_value()
,get_float_value()
, andget_string_value()
methods ofSpineEventData
, respectively. To be more specific, the values obtained fromget_int_value()
andget_float_value()
will always be 0, and the value obtained fromget_string_value()
will be empty.Expected behavior: The Int, Float, and String values set for that event key can be correctly retrieved using the corresponding methods.
Steps to reproduce:
spineboy-pro.spine-json
in thespineboy
folder using any text editor: If you compare the output with the log output to the Output Dock, you will see that0
,0
, and empty values are returned where values such as2
,0.2
, andRun-1
should be returned.The version of the spine-godot runtime in which this issue was found: Godot 4.3 (Other versions have yet to be tested)
This issue was reported in the following thread on the forum: https://esotericsoftware.com/forum/d/26996-spine-godot-cant-get-values-of-event