Discuss Scratch
- Discussion Forums
- » Suggestions
- » C blocks which change the color when you hover over them
- HTML-Fan
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
Yeah. Awesome, isn't it? I'm currently working on a 6502 emulator, and it's awesome. Not. As you can see, it's easier then ever to completely lose the outline. So, my suggestion is that you can enable C (or E, I guess it's pretty much the same thing) block highlighting when you right-click on the stage (where you could also select to delete or clean up the blocks). It would just mean that when you hover over a C block with your mouse, there will be a thin, white (or yellow) line around that block, like when it gets executed. It would really help for such long C block things.
Pros: It helps to find the end of a block, so you don't place stuff in the completely wrong place.
Cons: It could be confusing to newbies, but since it's just a small option and you just don't understand every feature straight from the beginning and overall it won't be that annoying if you don't know where to disable it because you enabled it accidentally, that's not a real con. It would be way more confusing to newbies when they notice that they completely misplaced their block.
So, overall I would say that it's a good idea, but what do you think?
Last edited by HTML-Fan (July 22, 2020 13:32:08)
- fdreerf
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
I think a more elegant solution would just to be change the color of the block itself when nested:
if <...> then
repeat until <...> ::#e3b63d
if <...> then
forever ::#e3b63d
if <...> then
repeat (...) ::#e3b63d
...
end
else
repeat (...) ::#e3b63d
...
end
end
end
end
end
- HTML-Fan
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
Yeah, already posted that in your topic. I think a more elegant solution would just to be change the color of the block itself when nested:snip::grey
- --Explosion--
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
Support! Perhaps maybe a gentle flash to lighter would be fine!
- SausageMcSauce
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
I think a more elegant solution would just to be change the color of the block itself when nested:if <...> then
repeat until <...> ::#e3b63d
if <...> then
forever ::#e3b63d
if <...> then
repeat (...) ::#e3b63d
...
end
else
repeat (...) ::#e3b63d
...
end
end
end
end
end
I think a Scratch modification, Snap (it is on the Scratch Wiki) does something similar.
Anyway, I support this. It would be easier to find one C Block.
- Col_Cat228
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
Yes it does. Proof;I think a more elegant solution would just to be change the color of the block itself when nested:if <...> then
repeat until <...> ::#e3b63d
if <...> then
forever ::#e3b63d
if <...> then
repeat (...) ::#e3b63d
...
end
else
repeat (...) ::#e3b63d
...
end
end
end
end
end
I think a Scratch modification, Snap (it is on the Scratch Wiki) does something similar.
Anyway, I support this. It would be easier to find one C Block.
- gilbert_given_189
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
This will be handy when I want to scour around a big project, when I don't know which C-block supposed to go where. Plus, this feature is very common in programming IDE's, so why not implement it?
Support!
Support!
- HTML-Fan
- Scratcher
1000+ posts
C blocks which change the color when you hover over them
Just remembered that: You can be close to a { or } with your cursor and it will highlight the other one. Plus, this feature is very common in programming IDE's, so why not implement it?
- Discussion Forums
- » Suggestions
- » C blocks which change the color when you hover over them