Discuss Scratch

Wetbikeboy2500
Scratcher
100+ posts

color outlined code for easier coding and finding of scripts

When you have too many scripts in one sprite it is hard to find them and get to them so why not color code them?

You could add an outline color of any type by clicking the color selector on the page.


When clicked it will bring up a color selector and a new tab with the multi color icon on it.


Then you click the color selector again once the desired color is found then it will switch the tab to that color then you click on the code to give it a outline of that color.


When you click the color tab it brings you to the script with that color


You could also turn this on or off due to it might confuse new scratchers and its main purpose is for the person creating the project to sort out the code for the colors could mean anything to other people and by default it would be off for not every feature has to be on 24/7

TheMonsterOfTheDeep wrote:

@Non-supporters - comments work terribly for this because they don't actually bookmark a script and you can't jump directly to scripts with certain comments. Comments are also incredibly hard to deal with and don't like the scripts they are attached to being moved anywhere.


This would color code the scripts make it easier to find and get to
These images took me about 3 hours to do in paint sooo much fun

Last edited by Wetbikeboy2500 (Sept. 20, 2015 05:30:54)


Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community
DaSpudLord
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

No support, the scripts' current color-coding works fine. This would just add an unnecessary layer of complexity. If you want to “Bookmark” scripts, you can do so by adding comments.


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
Cream_E_Cookie
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

HUGE support.

















Wetbikeboy2500
Scratcher
100+ posts

color outlined code for easier coding and finding of scripts

DaSpudLord wrote:

No support, the scripts' current color-coding works fine. This would just add an unnecessary layer of complexity. If you want to “Bookmark” scripts, you can do so by adding comments.
it would just outline the scripts with a color and if you add comments the issue is you still have to look through those comments for they look the same and would take some examination to find what you are looking for

Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community
Nether_before
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Support, could be quite useful.

~~If life gives you kumquats, lock your signature up, bury it in the ground and hope it's safe~~
hello child. i am an elf
powershack
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Semi-support. Could confuse new scratchers as well.

cookies are yummy
Wetbikeboy2500
Scratcher
100+ posts

color outlined code for easier coding and finding of scripts

powershack wrote:

Semi-support. Could confuse new scratchers as well.
maybe it could be an option to turn on or off due to that this would more be for the person making the project then the ones trying to examine it due to that a color could mean anything and who ever is viewing it probably wouldn't care and/or understand what the color represents

Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community
DrKat123
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

DaSpudLord wrote:

No support, the scripts' current color-coding works fine. This would just add an unnecessary layer of complexity. If you want to “Bookmark” scripts, you can do so by adding comments.
no support too.
just add comments, or if you want to,
use cleanup button.
so the script is tidy and easier to find

Moving from Scratch? Don't learn C or Java, try Snap!
it haz OOP
DrKat McKatFace
First of all I'm 100% human and humans does not have a cat face
and second, the Boaty McBoatFace/Parsey McParseFace madness has just begun

λ
Sharp, my new Scratch mod
Is my post/siggy worthy for an internet?
julianandwill
Scratcher
500+ posts

color outlined code for easier coding and finding of scripts

No support. You can add comments or hold shift then click on “Edit” and there is an option called “Edit block colors”.

Wanna help make the longest Scratch movie ever? Go here - https://scratch.mit.edu/discuss/topic/235554/

When you [have no idea v] :: events hat
Be all like [¯\_(ツ)_/¯] :: motion
Feel [proud v] of [yourself v] :: operators cap
Sorry if I get annoying with bumps. It's probably the kumquats messing up my brain.
Zekrom01
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Just add comments. This suggestion is like adding something twice.

Sorry, this signature is blocked, as part of your ISP's internet plan. You will have to upgrade, for $99.99/month, to access this signature.

Well, not yet! But this could become a reality if Net Neutrality is repealed. And we DO NOT want that to happen. If we don't have Net Neutrality, we will lose many key freedoms that the internet has now, such as equal access to websites like YouTube, Netflix, Twitter, Steam, and so much more. For more information on what to do, please go to battleforthenet.com
stickfiregames
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Semi-support, comments would probably be just as useful. If you don't like the existing sticky note style (I don't really, they always seems to snap to blocks I don't want them to), you can create a comment block easily:
define comment (comment)
with nothing under the define block :: grey


comment [you now have a comment block that you can drop into scripts!]


julianandwill wrote:

No support. You can add comments or hold shift then click on “Edit” and there is an option called “Edit block colors”.
That ins't a workaround, it just changes the colours of the block categories.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
TheMonsterOfTheDeep
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Support. This would definitely be useful in larger projects.

@Non-supporters - comments work terribly for this because they don't actually bookmark a script and you can't jump directly to scripts with certain comments. Comments are also incredibly hard to deal with and don't like the scripts they are attached to being moved anywhere.

my latest extension: 2d vector math
Sonickyle
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

No support.
  • Just use comments
  • Outlines around large stacks of scripts cause lots of lag.

No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.

Also, please save net neutrality.

I have made 2950+ posts / contributed to 2238+ topics
Mega987654
Scratcher
100 posts

color outlined code for easier coding and finding of scripts

powershack wrote:

Semi-support. Could confuse new scratchers as well.
^^^

Charles12310
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Not supporting this. This could confuse many users and this just adds more complexity instead of organization. Besides, multiple colored scripts could lead to lag. Therefore, I recommend using comments.


Click This Link For Some Secrets About Me!
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
Wetbikeboy2500
Scratcher
100+ posts

color outlined code for easier coding and finding of scripts

Charles12310 wrote:

Not supporting this. This could confuse many users and this just adds more complexity instead of organization. Besides, multiple colored scripts could lead to lag. Therefore, I recommend using comments.

If it confuses them then why would they use it? It isn't like it is going to break there code if they start to experiment with this new feature.





Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community
MathlyCat
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

Charles12310 wrote:

Not supporting this. This could confuse many users and this just adds more complexity instead of organization. Besides, multiple colored scripts could lead to lag. Therefore, I recommend using comments.
Comments lag my computer a lot already, don't see how that warrants it as a viable workaround.

I do believe you can use non-defined custom blocks as comments if you prefer, but I support because organization is always a good thing in programming.

Go make up your bed and work!

Life can be process of trial and error. Yours seems to be error and error.
DaEpikDude
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

I'd definitely like this. Having a convenient bookmark section for bits of code would be really useful (e.g. blue is movement scripts, green is animations etc.) and it'd help a lot with organisation.

For those saying “just use comments”:
1: For really big scripts you'd have to make a bunch of comments, otherwise you might miss it.
2: Comments are a really obscure feature: they're hidden under a right-click menu.
3: You can't search for a specific category of comment.
4: From my experience comments are WAY too easily detached.

[img]http://i.cubeupload.com/OciyAo.gif[/img]
i was told that my gif is too laggy so gotta change it xd
TheUltimatum
Scratcher
1000+ posts

color outlined code for easier coding and finding of scripts

OK, just to add something to the conversation. Scratch 2 is pretty late in its development cycle so I'm pretty sure that this would end up getting added into Scratch 3 if it's added at all. Maybe your mockups could use the scratch 3 editor instead? So devs can get an idea of what it would look like in the new environment.
Wetbikeboy2500
Scratcher
100+ posts

color outlined code for easier coding and finding of scripts

TheUltimatum wrote:

OK, just to add something to the conversation. Scratch 2 is pretty late in its development cycle so I'm pretty sure that this would end up getting added into Scratch 3 if it's added at all. Maybe your mockups could use the scratch 3 editor instead? So devs can get an idea of what it would look like in the new environment.

Yeah, the pictures were made all the way back in 2015 so they could use some updating.



Last edited by Wetbikeboy2500 (Dec. 20, 2017 20:02:57)


Scratch Made In JavaScript: https://scratch.mit.edu/discuss/topic/171842
Scratch Browser: https://scratch.mit.edu/discuss/topic/285957/
SB2Downloader: https://scratch.mit.edu/discuss/topic/295425/
Multiple work stations: https://scratch.mit.edu/discuss/topic/122484/ (25 Supporters)
New Blocks for Displaying Text: https://scratch.mit.edu/discuss/topic/171508 (7 Supporters)
Sprite Folders: https://scratch.mit.edu/discuss/topic/171569/ (7 Supporters)
Find code easier: https://scratch.mit.edu/discuss/topic/144748/ (5 Supporters)
A Support Button or No support Button: https://scratch.mit.edu/discuss/topic/181154/
I want Scratch grow and become a better place for everyone to come and use. So Scratch needs to expand and have more options for everyone.Scratch needs to break the boundaries and not be trapped by what is familiar to Scratch community

Powered by DjangoBB

Standard | Mobile