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.
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.

ɴᴏᴡ ᴘʟᴀʏɪɴɢ: Despacito 2 (Feat: Lil Pump) ───────────⚪────── ◄◄⠀▐▐ ⠀►►⠀⠀ ⠀
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.

Value your freedoms above all.
Invest in yourself to benefit most from Capitalism.

Economic and Social freedoms are at utmost importance.
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.

I haven't changed my signature in a while now so here's some pi tau as a placeholder thing
6.2831853071 7958647692 5286766559 0057683943 3879875021 1641949889 1846156328 1257241799 7256069650 6842341359 6429617302 6564613294 1876892191 0116446345 0718816256 9622349005 6820540387 7042211119 2892458979 0986076392 8857621951 3318668922 5695129646 7573566330 5424038182 9129713384 6920697220 9086532964 2678721452 0498282547 4491740132 1263117634 9763041841 9256585081 8343072873 5785180720 0226610610 9764093304 2768293903 8830232188 6611454073 1519183906 1843722347 6386522358 6210237096 1489247599 2549913470 3771505449 7824558763 6602389825 9667346724 8813132861 7204278989 2790449474 3814043597 2188740554 1078434352 5863535047 6934963693 5338810264 0011362542 9052712165 5571542685 5155792183 4727435744 2936881802 4499068602 9309917074 2101584559 3785178470 8403991222 4258043921 7280688363 1962725954 9542619921 0374144226 9999999674 5956099902 1194634656 3219263719 0048918910 6938166052 8504461650 6689370070 5238623763 4202000627 5677505773 1750664167 6284123435 5338294607 1965069808 5751093746 2319125727 7647075751 8750391556 3715561064 3424536132 2600385575 3222391818 4328403978 7619051440 2130971726 5577318723 0676365593 6460603904 0706037059 3799154724 5198827782 4994435505 6695826303
1149714484 9083013919 0165906623 3723455711 7781501967 6350927492 9878638510 1208018554 0334227801 9697648025 7167232071 2741532020 9420363885 9111923978 9353567489 8896510759 5494536942 0809506929 2416093368 5181389825 8662735405 7978304209 5043241139 3204811607 6300387022 5067648600 7117528049 4992946527 8283985452 0853984559 3564709563 2720186834 4328243984 9172630060 5723659491 1141349967 7010989177 1738539913 8185442159 5018605910 6423306899 7440551192 0472961330 9982397636 6959550713 2739614853 0850557251 0363683514 9345781955 5455876001 6329412003 2290498384 3464344295 4470028288 3947137096
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