Discuss Scratch
- Discussion Forums
- » Suggestions
- » The Workarounds to Frequently Suggested Blocks
- lovecodeabc
-
Scratcher
1000+ posts
The Workarounds to Frequently Suggested Blocks
Oh and
make () negative :: operatorsIs
(join [-] [])Or
((0) - ())
- lovecodeabc
-
Scratcher
1000+ posts
The Workarounds to Frequently Suggested Blocks
Are you planning on adding more? Either way I would like to suggest that you add a workaround for people who wantUse :: category of block likerepeat until <[Broadcast v] Received>
end
And also I know the traditional method everyone talks about is to use variables like:when green flag clicked
set [Variable v] to [False]when I receive [Do Stuff v]
set [Variable v] to [True]when this sprite clicked
repeat until <(Variable) = [True]>
Do Stuff
end
But many people complain about the amount of Variables it takes in large Projects. So I suggest instead that you add the following Method that uses List instead.when green flag clicked
replace item (1 v) of [list v] with [False]
replace item (2 v) of [list v] with [False]
replace item (3 v) of [list v] with [False]when I receive [Event 1 v]
replace item (1 v) of [list v] with [True]when I receive [Event 2 v]
replace item (2 v) of [list v] with [True]when I receive [Event 3 v]
replace item (3 v) of [list v] with [True]when this sprite clicked
repeat until <(item (1 v) of [list v] :: list) = [True]>
Do Stuff
end
repeat until <(item (2 v) of [list v] :: list) = [True]>
Do Stuff
end
repeat until <(item (3 v) of [list v] :: list) = [True]>
Do Stuff
end
In this example it uses 1 list instead of 3 Variables, and for larger Projects this can be very helpful. So I think you should add it.
Sorry if I'm being annoying, I can report this message to be deleted if you'd like.
(How do you change the color of a block you are creating?)
Hello :: sensing
I’m lovecodeabc :: motion
Scratch is cool :: control
- SeuAmigo35
-
Scratcher
500+ posts
The Workarounds to Frequently Suggested Blocks
ok thanks!Here's the link to the workaround for “distance to x y”THE WORKAROUNDFind what?i'm trying to find a workaround for these blocks:I CAN'T FIND IT!!!!(distance to X:() Y:()::sensing)
<<>() secs ago?::operators>
- shradibop
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
I'm still not sure how to make my character face all directions. Here's a link. I want my character to move like the tiny blue square does in the video.
- Vanilla2011
-
Scratcher
500+ posts
The Workarounds to Frequently Suggested Blocks
I'm still not sure how to make my character face all directions. Here's a link. I want my character to move like the tiny blue square does in the video.What do you mean?
- shopora123
-
Scratcher
3 posts
The Workarounds to Frequently Suggested Blocks
thxxxx :3bring the cat blocks backkkkkUse this: https://llk.github.io/scratch-gui/hotfix/totally-normal-2020/i am a cat block, well, not anymore :(
- shradibop
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
Try this. I want my character to move exactly like the blue square does without copying their script. You see how the blue square moves in every direction? I want my character to move like that.I'm still not sure how to make my character face all directions. Here's a link. I want my character to move like the tiny blue square does in the video.What do you mean?
- sashynilasen
-
Scratcher
81 posts
The Workarounds to Frequently Suggested Blocks
Wouldn't just using(video [motion v] on [Stage v] :: pen)work just fine?
Well… I need the motion so that it can be updated instantly, not with lag…
- shradibop
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
I can't think of anything simpler than just constantly updating a variable. Maybe try updating it on a timer?Wouldn't just using(video [motion v] on [Stage v] :: pen)work just fine?
Well… I need the motion so that it can be updated instantly, not with lag…
- BearSlothCoding
-
Scratcher
1000+ posts
The Workarounds to Frequently Suggested Blocks
I am now closing this topic. I don't really understand Scratch code as much as I should, I don't know anything about these workarounds. Because of this, I've decided that I am not a good fit for running this. If anyone is interested in taking this over, please comment on my profile. That way there won't be multiple people trying to run this.
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
- Vanilla2011
-
Scratcher
500+ posts
The Workarounds to Frequently Suggested Blocks
I am now closing this topic.But it's not closed!
- BearSlothCoding
-
Scratcher
1000+ posts
The Workarounds to Frequently Suggested Blocks
It was, it just got reopened so that way shradibop (the person taking it over) could copy and paste everything instead of spending three hours doing it by hand like I did.I am now closing this topic.But it's not closed!
- SeuAmigo35
-
Scratcher
500+ posts
The Workarounds to Frequently Suggested Blocks
I am now closing this topic. I don't really understand Scratch code as much as I should, I don't know anything about these workarounds. Because of this, I've decided that I am not a good fit for running this. If anyone is interested in taking this over, please comment on my profile. That way there won't be multiple people trying to run this.i'm one of the BEST coders ever in scratch, i find workarounds for a- LOT of blocks. what if I made a workarounds forum?
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
- stooky
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
point in [random direction] :: motioncan easily be done by adding a sprite with this code:
when green flag clickedThen, in the original sprite, you put this code:
forever
glide () secs to [random position] :: motion
end
when green flag clicked
forever
point towards (sprite) :: control
end
Last edited by stooky (Oct. 2, 2020 14:57:24)
- BearSlothCoding
-
Scratcher
1000+ posts
The Workarounds to Frequently Suggested Blocks
Why is this getting posts again?!
I already explained how someone else is taking it over in the post above yours. Also, saying you're “one of the BEST coders ever in scratch” sounds really arrogant.I am now closing this topic. I don't really understand Scratch code as much as I should, I don't know anything about these workarounds. Because of this, I've decided that I am not a good fit for running this. If anyone is interested in taking this over, please comment on my profile. That way there won't be multiple people trying to run this.i'm one of the BEST coders ever in scratch, i find workarounds for a- LOT of blocks. what if I made a workarounds forum?
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
- SeuAmigo35
-
Scratcher
500+ posts
The Workarounds to Frequently Suggested Blocks
Why is this getting posts again?!remember when i said the problems of the “when stop sing” block?I already explained how someone else is taking it over in the post above yours. Also, saying you're “one of the BEST coders ever in scratch” sounds really arrogant.I am now closing this topic. I don't really understand Scratch code as much as I should, I don't know anything about these workarounds. Because of this, I've decided that I am not a good fit for running this. If anyone is interested in taking this over, please comment on my profile. That way there won't be multiple people trying to run this.i'm one of the BEST coders ever in scratch, i find workarounds for a- LOT of blocks. what if I made a workarounds forum?
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
uh. but i can do that latter. when the third topic closes, i will make the fourth. also congradulations shradibop.
- stooky
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
Why is this getting posts again?!First, many people still have ways to work around blocks that are not in scratch. They may be better than all of us at understanding scratch code.I already explained how someone else is taking it over in the post above yours. Also, saying you're “one of the BEST coders ever in scratch” sounds really arrogant.I am now closing this topic. I don't really understand Scratch code as much as I should, I don't know anything about these workarounds. Because of this, I've decided that I am not a good fit for running this. If anyone is interested in taking this over, please comment on my profile. That way there won't be multiple people trying to run this.i'm one of the BEST coders ever in scratch, i find workarounds for a- LOT of blocks. what if I made a workarounds forum?
This was fun while it lasted, but I think it would be better for me to take over a sticky in QaS or something that I know more about.
Also, I think we can all agree that @griffpatch is one of the best coders ever in scratch.
- shradibop
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
Alright, I'm reporting this to be closed again. Go here if you want the new one: https://scratch.mit.edu/discuss/topic/444061/?page=1#post-4467704
Last edited by shradibop (Oct. 2, 2020 16:09:49)
- shradibop
-
Scratcher
100+ posts
The Workarounds to Frequently Suggested Blocks
stop [all v]
Last edited by shradibop (Oct. 2, 2020 16:10:04)
- Discussion Forums
- » Suggestions
-
» The Workarounds to Frequently Suggested Blocks







