Open deft663 opened 2 weeks ago
Hello, I'd like to help, though I do have a request, and in general, a suggestion for issues after this one:
The steps to reproduce need to be more descriptive than one script (Where do I put this script, how do I configure the sprite image, etc.)
The MRP is a project wherein you follow The Steps Reproduce, but in such a way that the project has exactly what is needed to reproduce the problem, no more and no less.
So far, with the information given, I can't do much except evaluate your GDScript by eye.
Note: I'm a new contributor, I might be somewhat off with these descriptions of how issues generally work, but i'm working off of other issues I've seen.
Hello, what is written at the top of this code @tool extends EditorScript As mentioned above, before saving the SpriteFrames object, I set the speed attribute and loop attribute for each animation, and the final printed value was also what I expected. However, after using the load function to load the saved tres file, I printed the speed and loop attributes with default values, such as the loop attribute always being true
Tested versions
Godot_v4.3-stable_win64
System information
window10
Issue description
The speed and loop properties did not take effect when converting the sprite image to SpriteFrames object and saving it
Steps to reproduce
Minimal reproduction project (MRP)
Bugsquad edit: Fix codeblock formatting.