Discuss Scratch
- Discussion Forums
- » Suggestions
- » Best block idea! Organise code [CODE SECTIONS]
- PenguinLover1123
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
King of the page
There is technically a workaround (put all the scripts in custom blocks) but I still think it would be useful.or:
Support.
define [comment]
define end
when green flag clicked
[Moves the sprite forever]::custom stack
point in direction (56)
repeat ((1)/(0))
move (10) steps
if on edge, bounce
end
end::custom stack
Last edited by PenguinLover1123 (July 21, 2021 18:04:24)
- SuperMarioHome
-
Scratcher
100+ posts
Best block idea! Organise code [CODE SECTIONS]
There is technically a workaround (put all the scripts in custom blocks) but I still think it would be useful.
Support.
The custom block workaround works, but:
• It would take a lot of space to place the definitions.
• It would be hard to find everything.
- mumu245
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
+1 bc I make large projects
- SuperMarioHome
-
Scratcher
100+ posts
Best block idea! Organise code [CODE SECTIONS]
How about these?
But where would they go?
section [] ▶ :: grey stack
//would become
section [] ▼ {
} :: grey
//when the arrow was clicked.
But where would they go?
- Blakedows2001
-
Scratcher
100+ posts
Best block idea! Organise code [CODE SECTIONS]
Support!!!
If code sections get added, I'll turn messy code into nice, clean, code.
If code sections get added, I'll turn messy code into nice, clean, code.
- PoIygon
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
Isn’t this just custom blocks but there’s a dropdown? No support
- Reev0102
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
Isn’t this just custom blocks but there’s a dropdown? No supportWhen you use custom blocks and are scrolling through to find a section, it looks like the custom blocks are part of the code.
- GAMS2
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
I'm not sure if I said it before, but I support, I'm making a large scale project, its hard to organize.
- PGBFLITE6373
-
Scratcher
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
I support, this could be used to sort everything.
Imagine you are making a big project, and need to label scripts. you try to use the comment feature, but it doesn't help you because you can barely see the line. So with this, you not only can sort things easier, you can make sub-sections, something that would confuse you with the comment. This could even be use to shorten code size with the dropdown.
Imagine you are making a big project, and need to label scripts. you try to use the comment feature, but it doesn't help you because you can barely see the line. So with this, you not only can sort things easier, you can make sub-sections, something that would confuse you with the comment. This could even be use to shorten code size with the dropdown.
- GoldBackthewebAlext
-
Scratcher
100+ posts
Best block idea! Organise code [CODE SECTIONS]
Full support! The way you made it is awesome!
- TheBus_2
-
Scratcher
53 posts
Best block idea! Organise code [CODE SECTIONS]
how about, Section dividers?Those aren't really comments…I know, I will re-title it if you can think of a name, it's just that this is the one I came up with.
- Discussion Forums
- » Suggestions
-
» Best block idea! Organise code [CODE SECTIONS]












