Skip to content

ldev1996/sprite-customizer-2d-godot

Repository files navigation

This game system allows you to quickly create customizable sprites in 2D scenes.

How To Use

  1. Copy the folder CustomizableSprite2D to your project
  2. Instantiate a CustomizableSprite2D as a child of your character
  3. Choose the folder where your spritesheets will be located and set your layers (e.g.: body, hair, etc.)
  4. Create an SpriteAppearance2D to save the selected items and colors
  5. Set Hframes and Vframes based on your spritesheets

When you edit the Frame of a CustomizableSprite2D (e.g. on an AnimationPlayer), the frame will be the same for all layers.

Folder Structure

Spritesheets must be located in "[root]/[layer name]/[selected item].png" OR "[root]/[layer name]/[selected item]/[selected color].png"

About

A game system to copy and paste on your Godot 4 project.

Topics

Resources

License

Stars

Watchers

Forks