Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Auto-Keyframe SpriteFrames Animations

An asset by kaiiboraka
The page banner background of a mountain and forest
Auto-Keyframe SpriteFrames Animations thumbnail image
Auto-Keyframe SpriteFrames Animations thumbnail image
Auto-Keyframe SpriteFrames Animations hero image

Quick Information

0 ratings
Auto-Keyframe SpriteFrames Animations icon image
kaiiboraka
Auto-Keyframe SpriteFrames Animations

This Godot editor plugin is designed to streamline the process of animating an `AnimatedSprite2D` node with an `AnimationPlayer`. It reduces the tedious manual work of keyframing each frame of a sprite animation down to a single button-press.I was getting really fed up with the tedium of finding the AnimatedSprite2D, clicking on the Animation tab, creating new animation, key "animation", click yes to the dialog, and then key every single frame (however long it is) by carpal-tunneling myself to tears going back and forth between clicking the little up-arrow on the frame, and the key next to it, over and over and over.This does all of those things in ONE button press. All you need to do is go to the AnimatedSprite2D, assign a SpriteFrames, select an animation, and click the button once for each animation. EZ-PZ.See the README for more details.

Supported Engine Version
4.2
Version String
1.0.2
License Version
CC0
Support Level
community
Modified Date
9 days ago
Git URL
Issue URL

AutoKey_AnimatedSpriteFrames Auto-Keyframe AnimatedSprite2D's SpriteFrames

README License: CC0-1.0 Godot 4.4

A QOL Plugin for 2D frame-based Animation in Godot

This Godot editor plugin is designed to streamline the process of animating an AnimatedSprite2D node with an AnimationPlayer. It reduces the tedious manual work of keyframing each frame of a sprite animation down to a single button-press.

Made in Godot 4.5 beta3. Other Godot versions untested. Almost certain to work in 4.4, oldest I'd say is probably 4.2. If it breaks on an older version, submit an issue.

How to Use

Installation

  1. Place the AutoKey_SpriteFrames folder inside your project's addons directory.
  2. Enable the plugin in Project > Project Settings > Plugins.

The final file structure should look like this:

res://addons/AutoKey_SpriteFrames/
β”œβ”€β”€ AutoKey_SpriteFrames.gd
β”œβ”€β”€ inspector_plugin.gd
β”œβ”€β”€ plugin.cfg
β”œβ”€β”€ license.md
└── README.md

Usage

Custom Button screenshot
  1. Select an AnimatedSprite2D node in the scene tree.
    • In the Inspector, you will see a new button at the top: "Auto-Key SpriteFrames Animation".
  2. Ensure it has a sibling AnimationPlayer node.
  3. Assign a SpriteFrames resource to your AnimatedSprite2D.
  4. Select the animation you want to auto-key in the Animation property below Sprite Frames.
  5. Click the button.

What It Does

When the button is clicked, the plugin will:

  1. Find the sibling AnimationPlayer.
  2. Get the current animation name from the AnimatedSprite2D (e.g., "walk").
  3. Create a new Animation resource in the AnimationPlayer with that name, or find an existing one.
  4. Automatically generate two tracks: i. AnimatedSprite2D:animation: Sets the current animation name at time 0.0. ii. AnimatedSprite2D:frame: Creates a keyframe for every single frame of the animation in the SpriteFrames resource. The timing of these keyframes is based on the FPS (step) set in the AnimationPlayer's animation timeline.
    • WARNING: This will clear all existing frames of the above-mentioned tracks.
  5. Set the total length of the animation (in frames) to match the sprite animation's duration.

This allows you to instantly create a perfectly timed AnimationPlayer animation from your SpriteFrames with a single click.

Why

I was getting really fed up with the tedium of finding the AnimatedSprite2D, clicking on the Animation tab, creating new animation, key "animation", click yes to the dialog, and then key every single frame (however long it is) by carpal-tunneling myself to tears going back and forth between clicking the little up-arrow on the frame, and the key next to it, over and over and over.

This does all of those things in ONE button press.

All you need to do is go to the AnimatedSprite2D, assign a SpriteFrames, select an animation, and click the button once for each animation. EZ-PZ.

License

By Kaiiboraka. Licensed under CC0. See license.md. I don't care what you do with it, go nuts. Credit me if you like.

This Godot editor plugin is designed to streamline the process of animating an `AnimatedSprite2D` node with an `AnimationPlayer`. It reduces the tedious manual work of keyframing each frame of a sprite animation down to a single button-press.

I was getting really fed up with the tedium of finding the AnimatedSprite2D, clicking on the Animation tab, creating new animation, key "animation", click yes to the dialog, and then key every single frame (however long it is) by carpal-tunneling myself to tears going back and forth between clicking the little up-arrow on the frame, and the key next to it, over and over and over.

This does all of those things in ONE button press.

All you need to do is go to the AnimatedSprite2D, assign a SpriteFrames, select an animation, and click the button once for each animation. EZ-PZ.

See the README for more details.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Auto-Keyframe SpriteFrames Animations icon image
kaiiboraka
Auto-Keyframe SpriteFrames Animations

This Godot editor plugin is designed to streamline the process of animating an `AnimatedSprite2D` node with an `AnimationPlayer`. It reduces the tedious manual work of keyframing each frame of a sprite animation down to a single button-press.I was getting really fed up with the tedium of finding the AnimatedSprite2D, clicking on the Animation tab, creating new animation, key "animation", click yes to the dialog, and then key every single frame (however long it is) by carpal-tunneling myself to tears going back and forth between clicking the little up-arrow on the frame, and the key next to it, over and over and over.This does all of those things in ONE button press. All you need to do is go to the AnimatedSprite2D, assign a SpriteFrames, select an animation, and click the button once for each animation. EZ-PZ.See the README for more details.

Supported Engine Version
4.2
Version String
1.0.2
License Version
CC0
Support Level
community
Modified Date
9 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers