GithubHelp home page GithubHelp logo

joaoluizn / dragonbones-tweaks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

A Dragonbones Animation Software Complementary tool with some tweaks. When a friend tried to export his job to some portfolio he had problems doing it. So i tried to help creating this. Have fun!

License: MIT License

Python 100.00%

dragonbones-tweaks's Introduction

Dragonbones Tweaks

Instalation

  • Install pipenv in your machine if doesn't have it
$ pip install pipenv
  • Type inside project folder:
$ pipenv shell

Commands

There is only 3 parameters to run the script, try --help to check then:

$ python dragon_tweaks.py --help

Image Exporter Sorting

  • Easily order exported assets to help import on other softwares
  • Order both png and json files from exportation
  • Creates a copy to keep original data untouched
$ python dragon_tweaks.py --anim-export-folder=[PATH_TO_FOLDER_WITH_JSON_AND_PNG]

This will create a folder called output in the project root containing a copy to the animation folder, now with sorted files and properly named with the animation tag.

Create Gif

  • To create a Gif from sorted files, just insert --gif argument and adjust --gif-fps which is 30 by default.
$ python dragon_tweaks.py --anim-export-folder=[PATH_TO_FOLDER_WITH_JSON_AND_PNG] --gif --gif-fps=30

The generated gif will be located at output folder with properly animation folder name.

Thanks,

Leave a start if usefull and feel free to fork it. And also, open an issue for any suggestion or problem.

dragonbones-tweaks's People

Contributors

joaoluizn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.