GithubHelp home page GithubHelp logo

Comments (5)

WorldLanguages avatar WorldLanguages commented on June 12, 2024 3

What about the backpack? I bet it is used more frequently than exporting as a file.

from scratchaddons.

BroJac5246 avatar BroJac5246 commented on June 12, 2024 2

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.

DNin01 avatar DNin01 commented on June 12, 2024

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.

iqnite avatar iqnite commented on June 12, 2024

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.

BroJac5246 avatar BroJac5246 commented on June 12, 2024

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)

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.