Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A plugin to generate animations for modular 2d sprites. Generated animations will have multiple tracks, one for each Sprite2D node.
ModularSpriteAnimationFactory
A Godot 4 plugin to generate animations for modular 2d sprites. Generated animations will have multiple tracks, one for each Sprite2D node.
Installation
- Download the plugin from github and place the
addonsdirectory to your Godot project root folder. Alternatively, you can install it from theAssetLibin the Godot editor. - In the Godot editor, go to
Project>Project Settings>Pluginsand enableModular Sprite Animation Factory.
Usage
Prepare your sprites. Split it to different parts and convert them to white (or greyscale). Example below:
Original:
Head:
Body:
Eyes:
Outline:
Setup your nodes, it has to be a
Node2D, contains anAnimationPlayerand at least aSprite2Damong its children. It's recommended to name theSprite2Ds accordingly. Example below:Node2DAnimationPlayerSprite2DSprite2D- ... more
Sprite2Ds
Set the textures of the
Sprite2Ds with your sprites. And set the Hframes and Vframes (under theSprite2D > Animationsection), in the example it's a 4x4 spritesheet.You can now customize your character by setting different colors to each part of the sprite. To do so, in the
CanvasItem > Visibilitysection, change the modulate color. You can also change that via a script. Alternatively, you can also customize your character by changing the texture. For example, you can have aSprite2Dnode namedHat, and you can change the character's hat to different styles, instead of just changing the hat color.When you select the root Node2D, a tab will apear on the right panel, named
MSAF. You can then manage and generate animations using it.The result of the generated animation:
A plugin to generate animations for modular 2d sprites. Generated animations will have multiple tracks, one for each Sprite2D node.
Reviews
Quick Information
A plugin to generate animations for modular 2d sprites. Generated animations will have multiple tracks, one for each Sprite2D node.