pancelor / aseprite-puzzlescript-export Goto Github PK
View Code? Open in Web Editor NEWaseprite script to export tiles as puzzlescript sprites
aseprite script to export tiles as puzzlescript sprites
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 :)
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.
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:
I used the script from 17dd53e instead, which works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.