Crystalwarrior / Gif-To-Godot

Scripts to convert gifs to Godot-supported formats, such as AnimatedTexture or Animation files.

Home Page:HomePage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gif-To-Godot

Scripts to convert gif, apng, webp etc. to Godot-supported formats. It even generates a scene file for you and supports batching!

Usage

Simply drag & drop your files onto the script. Before launching, make sure to use Python 3 and to install Pillow for Python.

Once you drag and drop the file, the script will create a new folder for you that will split it up into frames and create all the necessary resources and scene for you to easily import into Godot 4.

gif_animation.py

  • Exports Animation resources, AnimationLibrary resource and the Scene file with a basic setup to get you started.
  • You can choose a path to nest this scene in! Note that you should put this folder as-is into Godot, and if you want to rearrange the file structure in post you should do so from within the Godot editor.

Here's a gif how you can use this:

usage_example

About

Scripts to convert gifs to Godot-supported formats, such as AnimatedTexture or Animation files.

HomePage

License:MIT License


Languages

Language:Python 100.0%