GithubHelp home page GithubHelp logo

aseprite-puzzlescript-export's People

Contributors

bbb651 avatar pancelor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bbb651

aseprite-puzzlescript-export's Issues

[Feature] Split Sprites Larger Than 5x5

First of all thank you so much for making this script, I've been working on my first PuzzleScript game and it's been incredibly helpful :)

image

One thing I noticed is that it doesn't handle splitting sprites that are larger than 5x5 to multiple PuzzleScript sprites, instead outputting one large one (which might be useful for forks? I don't know if there are any that allow increasing sprite size). It's not that big of a deal for small sprites but with multiple multi-sprite sprites it gets a bit tedious to rename all the slices. I've tried integrating Better Slicer but it deletes all other slices in the file and supports only one selection so it doesn't work.

I think it should automatically detect when when the width or height is greater than 5 for each zone and output multiple sprites with a suffix like x{x}y{y} or _{index} or something like that.

I'll try to see if I can do a pr, I've barely used lua so I'll see how it goes. I've actually already made a very similar script to this in python before I found your script (I just uploaded it and I'll share it in the thinky games discord in-case someone will find it useful, the code is kinda horrible though xD), but it's more orientated towards backgrounds that you export once rather than a split sprite as part of a workflow. Hence the whole random-unicode-character-assignment part.

Export not working correctly

Hey, nice little tool!
Unfortunately exporting doesn't work correctly with the latest version.
It either says 0 tiles exported, or 1 tile exported, while in my ase file there are two tiles.
Tried slices as well.
I used the ARNE16 palette and made a 5x10 image.
This is what it looks like:

image

I used the script from 17dd53e instead, which works fine.

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.