Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

AnimationPlayer SpriteFrames Helper allows for an easier addition of SpriteFrames animations into the timeline of an Animation.

License

Notifications You must be signed in to change notification settings

KikimoraGames/godot_animationplayer_spriteframes_helper

Repository files navigation

Godot AnimationPlayer SpriteFrames Helper

AnimationPlayer SpriteFrames Helper allows for an easier addition of SpriteFrames animations into the timeline of an Animation.

Table Of Contents

Why?

An AnimatedSprite is an amazing tool for easy spritesheet animation, and SpriteFrames are a great data container. Especially when paired with plugins such as Godot Aseprite Wizard.

However, the AnimationPlayer node is much better when it cames to syncing various gameplay elements such as particles, sound effects and colliders to animations. Animating a spritesheet with an AnimationPlayer is a pain because you would need to manually set every keyframe, making sure you're playing it at the correct FPS.

So, AnimationPlayer SpriteFrames Helper is here to automate the boring for you.

How To

A new view will now appear in your Inspector dock when you select any AnimationPlayer:

You can select which AnimationPlayer animation you want to edit:

What AnimatedSprite should be targeted in the animation:

What SpriteFrames animation to use:

And finally, you can select to Fill and Set Length:

  • Fill will fill up the animation for the selected keyframe until the end of the animation
  • Set Length will set the lenght of the animation to be as long as is required to play the full SpriteFrame animation once

Pressing the Insert button will inject tracks for frames, animation and frame properties into the selected animation, starting from the current playback position. You can adjust this in the animation dock.

Kikimora Games ❤ Open Source

Kikimora Games is a small indie game studio from Stockholm, Sweden. We believe that making games doesn't have to be done in secret, and that by sharing knowledge our industry can grow and nurture talent.

Support Us

About

AnimationPlayer SpriteFrames Helper allows for an easier addition of SpriteFrames animations into the timeline of an Animation.

Topics

Resources

License

Stars

Watchers

Forks