Comments (5)
What about the backpack? I bet it is used more frequently than exporting as a file.
from scratchaddons.
Some users might prefer the current way this works. Perhaps there could be a popup when uploading the sprite that asks if you want to create the folder. If the folder already exists then it can be added there automatically.
from scratchaddons.
This probably happens because the name of the folder a sprite is in is stored in its name, which is preserved in full when exported.
When you import one of these sprites, Scratch Addons recognizes a folder name in the sprite's name and puts it in a folder, which is exactly how it is supposed to know what sprites are in what folders.
It's a result of the folders themselves not actually being stored internally, just the references - the sprites that are in that folder, via their names.
This could be fixed by simply not including the folder name prefix in exported sprites, or removing it during importation.
from scratchaddons.
It's not a bug, it's actually how the addon works. It would require adding a whole bunch of code to remove the folder name on export, and if we removed it on sprite upload, there are edge cases with duplicate sprite names that would require us to rename the sprite twice, which would be confusing.
Currently, the best way to work around this is to simply rename the file once exported.
from scratchaddons.
Some users might prefer the current way this works. Perhaps there could be a popup when uploading the sprite that asks if you want to create the folder. If the folder already exists then it can be added there automatically.
W_L what is your preferred solution? The pop-up could be optional, of course.
from scratchaddons.
Related Issues (20)
- Addons taking a moment to activate if it has been > 30 seconds since last Scratch page visit HOT 32
- `numberpad` + `mediarecorder`: Numberpad clips onto mediarecorder HOT 1
- new addon: fix small stage affecting project page (or switch to large stage before going to project page)
- Addons don't work when running scratch-www locally HOT 4
- Run on `localhost:8602` HOT 3
- Markdown in comment HOT 2
- Revamp `mediarecorder`'s "Start Recording" modal HOT 7
- Doesn't work on Android Firefox since the recent update HOT 7
- `mediarecorder`: custom shortcut to stop- and start recording HOT 2
- 3.0 Scratchblocks on forums: Apply custom block styles HOT 1
- Jump to custom block definition: add context menu option HOT 1
- Remove `handle-licenses.js` HOT 1
- Remove unnecessary `MANIFEST_VERSION` constants HOT 1
- Rearrangeable custom block inputs: Adding or rearranging an empty-string label creates "%l" labels. HOT 7
- Settings page works - but addons don't - on v1.38.1 HOT 37
- Service worker restart breaks regex matches
- Scratch Addons refuses to work on some pages in newest Chrome update. HOT 2
- Auto-hiding palette does not work with dropdowns or text regions HOT 1
- Hover over a custom block input to see the name of it as a tooltip HOT 1
- Legal: Should the licenses page include the author and copyright year? HOT 1
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 scratchaddons.