Skip to content
Snippets Groups Projects

Godot AnimationLibrary Import Plugin

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Louis

    For the data file (beholder.animdata):

    • "asset_path" points to a folder containing spritesheets (One per animation set)
    • "frame_size" is the pixel width and height of each animation frame (used for layout)
    • "default_frame_time" Is the value used for animation track keyframe duration, if no more specific value is provided
    • "frame_time_override" is a map that gives a more specific frame time for a single animation per entry
    • "should_loop" indicates that any animations from the matching set should be marked as looping. Setting this property in the editor for an imported library doesn't work in all scenarios, so it has to be added at import time
    Edited
    beholder.animdata 177 B
    global_library_button.rs 1.96 KiB
    import_plugin.rs 5.49 KiB
    library_builder.rs 3.14 KiB
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment