Discuss Scratch
- Discussion Forums
- » Suggestions
- » Best block idea! Organise code [CODE SECTIONS]
- PenguinLover1123
-
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
King of the page
or: There is technically a workaround (put all the scripts in custom blocks) but I still think it would be useful.
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
-
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
-
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
+1 bc I make large projects
- SuperMarioHome
-
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
-
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
-
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
Isn’t this just custom blocks but there’s a dropdown? No support
- Reev0102
-
1000+ posts
Best block idea! Organise code [CODE SECTIONS]
When you use custom blocks and are scrolling through to find a section, it looks like the custom blocks are part of the code. Isn’t this just custom blocks but there’s a dropdown? No support
- GAMS2
-
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
-
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
-
100+ posts
Best block idea! Organise code [CODE SECTIONS]
Full support! The way you made it is awesome!
- TheBus_2
-
53 posts
Best block idea! Organise code [CODE SECTIONS]
how about, Section dividers?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. Those aren't really comments…
- Discussion Forums
- » Suggestions
-
» Best block idea! Organise code [CODE SECTIONS]