Giter Site home page Giter Site logo

aseprite-scripts's Introduction

aseprite-scripts

jest_import_existing_tags (also imports frame durations)

Video(SCRIPT RE-NAMED TO jest_import_existing_tags): (https://6-28.mastodon.xyz/media_attachments/files/014/003/934/original/be68e70a2fc7c855.mp4)

Instructions

  1. Export your animation tags and duration info with:
./aseprite.exe --data="anim_info.json" --format="json-array" --list-tags [file].ase -b
  1. In aseprite menu go to: File > Scripts > jest_import_existing_tags . Select the animation info json file and done.

jest_merge_all_tabs.lua

Video: https://6-28.mastodon.xyz/media_attachments/files/105/473/764/637/461/769/original/d7d438e81f1d8e96.mp4

Instructions:

  1. Import all the individual frames
  2. In aseprite menu go to: File > Scripts > jest_merge_all_tabs , and it will merge everything into 1 sprite

jest_import_packed_atlas

Video: https://youtu.be/XVnEURlY_Do

NOTE: This does not work with rotated atlases

  1. Make sure the current tab selected is the sprite packed in a texture atlas
  2. Select the corresponding json file associated with it

This script can also be ran via cli:

// png and json file don't have to be aboslute paths but script file most likely need absolute path. If it doesn't work just use absolute paths

aseprite.exe <C:\SPRITE.png> --script-param json="C:\SPRITE.json" --script "C:\jest_import_packed_atlas.lua" --batch

note: if you see all the colors wrong, you did not have the texture atlas sprite active.

aseprite-scripts's People

Contributors

jestarray 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.