Comments (2)
One note I'll add in here for any future readers.
If you have your layers grouped together in Aseprite then your regex has to include those parent groups if you want them to import.
e.g.
Clothes
Shirts
RedShirt
BlueShirt
Jackets
LeatherJacket
You have the Clothes group and inside that are the Shirts and Jackets groups and inside those are your layers.
If you want to import only the RedShirt then your regex should be (?!Clothes|Shirts|RedShirt)
rather than just (?!RedShirt)
.
from godot-aseprite-wizard.
Hello @cachi01 . Thank you. Selecting multiple layers will require some thinking. I don't think godot has any nice multi-select node to be used in the inspector and I need to check which command is being used. It might be possible
Yeah, having to manually hide the layers is annoying. I have a couple alternatives that might be easier if you haven't thought about them yet.
The simplest way is by using Groups in Aseprite. You put all layers you want exported in a group and select it instead of the individual layers. The downside is that if your intention is to export more than one sprite from the same source file and they have shared layers, those shared layers won't be included if not in the group.
The second method I can think of is by using the exclusion pattern. It requires a little bit of knowledge of Regex, but you can use a negated pattern to select only the layers you want.
Let's say in the same file you have layers for a green character, a blue character and some shared layers. To export the green char you could do something like this: (?!green|shared)
. This regex would exclude any layer that doesn't contain green or shared in the name.
You could also use a prefix instead. Like this: ^(?!char_1_|shared_)
. For this one, all layers starting with char_1_
or shared_
will be included in the final animation and the others ones be ignored.
I don't think any of these methods are ideal, but they might make your life easier in the meantime. Cheers.
from godot-aseprite-wizard.
Related Issues (20)
- Use the EditorFileDialog instead of FileDialog HOT 3
- Command not found on Mac HOT 4
- Possibility to import sprites without an AnimationPlayer in the inspector HOT 3
- Import animations unrelated properties HOT 2
- Workaround for loss of Trim feature? HOT 10
- "InspectorDock" shadows a native class Godot 3.6 beta4 HOT 3
- make import defaults affect the import settings in `Sprite2D` props HOT 2
- "Do not create resource file" option in Aseprite Wizard window is not applied
- Forward slash in imported animation name can't be renamed HOT 1
- Automatically import all sprites in my project in one go HOT 10
- Add a way to import an aseprite image as split layers HOT 2
- Outdated message displayed when Aseprite command could not be executed HOT 4
- Crash on exit on macOS HOT 3
- Resource file not found HOT 3
- Texutre filter should be an option instead of only overwriting to "nearest" by default HOT 1
- Output texture is not power-of-two HOT 2
- Error when trying to import a file HOT 1
- about Aseprite 1.3-rc4 new features: repeat in tag HOT 4
- Drag-n-Drop aseprite files? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-aseprite-wizard.