Discuss Scratch

-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

finnb4513 wrote:

Support! I would love to use this in my projects, and I can find so much uses for this! My favourite use I can think of is having the blocks be like this:
if <[potato]=[potato]> then // this would always be true and can be treated as something to save space.
...

Um… I don't think you get what I'm suggesting… What I'm suggesting is that C blocks be collapsible. I don't see how that has anything to do with your example.
Also, there's no point in using an if block if you're going to set it to check the condition of something that's always true.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
Cub56
Scratcher
1000+ posts

Make C Blocks Collapsible

Support - I work on big projects which have scripts that take up lots of space, requiring lots of scrolling. You could easily expand the block again.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
XperiencedLutz
Scratcher
7 posts

Make C Blocks Collapsible

Support
1a3c5e7g9i
Scratcher
100+ posts

Make C Blocks Collapsible

Charles12310 wrote:

1a3c5e7g9i wrote:

Duplicate of this
It would be stressful to put this every time we want to put a c-block that we can shorten:

um no title at all, lol... {
if <> then
...
end
} :: grey
s t r e s s f u l .
Sorry, false alarm.
77Tigers_Test
Scratcher
30 posts

Make C Blocks Collapsible

Support, I was thinking of suggesting this. It would be really useful.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
hedgehog125
Scratcher
100+ posts

Make C Blocks Collapsible

Definitely support. This could make it a look easier to look through long scripts.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
asqwde
Scratcher
1000+ posts

Make C Blocks Collapsible

Support!
YubNubEwok
Scratcher
1000+ posts

Make C Blocks Collapsible

asqwde wrote:

Support!
Why do you support?
Botcho_Otkho
Scratcher
1000+ posts

Make C Blocks Collapsible

Support, it occupies a lot of space.
-Osiris-
Scratcher
100+ posts

Make C Blocks Collapsible

bump
Marb1
Scratcher
100+ posts

Make C Blocks Collapsible

I SUPPORT!
YubNubEwok
Scratcher
1000+ posts

Make C Blocks Collapsible

Marb1 wrote:

I SUPPORT!
Why do you support?
aidenawesome
Scratcher
18 posts

Make C Blocks Collapsible

support!
finnb4513
Scratcher
100+ posts

Make C Blocks Collapsible

-Osiris- wrote:

finnb4513 wrote:

Support! I would love to use this in my projects, and I can find so much uses for this! My favourite use I can think of is having the blocks be like this:
if <[potato]=[potato]> then // this would always be true and can be treated as something to save space.
...

Um… I don't think you get what I'm suggesting… What I'm suggesting is that C blocks be collapsible. I don't see how that has anything to do with your example.
Also, there's no point in using an if block if you're going to set it to check the condition of something that's always true.
Here is a better example of what I was trying to say (this is in one of my projects):
when flag clicked
forever
if <mouse down> then
if <(costume #) = [1]> then
if <...>then
set [boot v] to [something]
broadcast [boot v]
end
if <...> then
... // more if ... then scripts
end
else
...
end
That script is very cumbersome to edit.
Please ignore the other post I made. I have to admit that I was quite stupid 10 months ago.
JackK211424
Scratcher
500+ posts

Make C Blocks Collapsible

Note: this used to be its own topic but a st member merged it with this one, so just a little context for ya

Sometimes i have HUGE custom blocks that clutter up my space sometimes.

I have a proposal,
a little button on the side of custom blocks that allow you to show and hide them.
when you press hide, it will compress the large custom block into a smaller rounded block.
when you press show again, it will show all of the code.

here is a quick mock up i whipped up quickly



tell me your thoughts!

Last edited by JackK211424 (June 21, 2021 19:11:31)

Powered by DjangoBB