You know how in, for example, Notepad, there's a tool called "find and replace"? Is there a way to find and replace blocks in Scratch?
For example, you started a game or something, and the level starts when you click the green flag. Then you want to add a start screen. It would be tedious to change all the "when green flag clicked"s to "when I receive start". For a solution, we could simply have a feature that allows all instances of "when green flag clicked" to change to "when I receive start". (Assuming "start" is the name of the broadcast.) That way much time could be saved.
Anyone else want to comment on this proposed feature?
Offline
I already thought of that myself and was planning to start a topic about it. I think this would be a critical feature.
Offline
shadow_7283 wrote:
I already thought of that myself and was planning to start a topic about it. I think this would be a critical feature.
Yes indeed. ^^
It could also be used to....
Say you made a sprite with bunches of repeated scripts that are only *slightly* changed each time. If you wanted to change any part of those many scripts, it would be significantly less difficult.
Offline
cocoanut wrote:
For example, you started a game or something, and the level starts when you click the green flag. Then you want to add a start screen. It would be tedious to change all the "when green flag clicked"s to "when I receive start". For a solution, we could simply have a feature that allows all instances of "when green flag clicked" to change to "when I receive start". (Assuming "start" is the name of the broadcast.) That way much time could be saved.
Pefect example, when I was a beginner (and sometimes now, too) it happened to me all the time. Great idea.
Offline
Yes! I totally agree. I have been in many situations where I really wanted find and replace.
Offline
fg123 wrote:
I hope someone implements it. Maybe it will be in Streak?
Yeah, that would be cool! We have to get billyedward to look at this, then.
DIE, SIXTY-SECOND RULE!
Offline
I use variables for this. It's very easy.
Offline