Discuss Scratch
- Discussion Forums
- » Suggestions
- » make the ask bock a reporter
- StevenTheSquare
-
100+ posts
make the ask bock a reporter
Unecessary. Scratch team should focus on something that can't have a workaround, like layer sensing blocks or making the clones easier to use.
- Ihatr
-
1000+ posts
make the ask bock a reporter
You say this to every suggestion, try giving a reason instead of just filling the post with WANTS and NEEDS Unecessary. Scratch team should focus on something that can't have a workaround, like layer sensing blocks or making the clones easier to use.
- Maximouse
-
1000+ posts
make the ask bock a reporter
The “translate” reporter works like this, and possibly other extension reporters. I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.
- gosoccerboy5
-
1000+ posts
make the ask bock a reporter
Eh.. semi-support. This might confuse some people but on the other hand it makes projects a bit easier to make (but the workaround is albeit easy)
Yeah, like I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.window.prompt in javascript, input in python, etc..
- the2000
-
1000+ posts
make the ask bock a reporter
I'm talking about Scratch itself though.Yeah, like I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.window.prompt in javascript, input in python, etc..
That's a good point, but I'm pretty sure that the only reporters which do that are ones which need to grab some kind of information from the internet, and those ones only have a very short delay which is mandatory and not a design choice.The “translate” reporter works like this, and possibly other extension reporters. I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.
- DataLabGames
-
100+ posts
make the ask bock a reporter
I think this could cause some problems, since the ask and wait block needs a wait. Say if I run the following script and I don't answer immediately, what would happen?
when green flag clicked
say (ask [] and wait)
- the2000
-
1000+ posts
make the ask bock a reporter
The idea is that it would wait for an input before proceeding with the “say” command. I think this could cause some problems, since the ask and wait block needs a wait. Say if I run the following script and I don't answer immediately, what would happen?when green flag clicked
say (ask [] and wait)
- Rendangbike2
-
1000+ posts
make the ask bock a reporter
It would ask first then the sprite would say the answer, simple. I think this could cause some problems, since the ask and wait block needs a wait. Say if I run the following script and I don't answer immediately, what would happen?when green flag clicked
say (ask [] and wait)
- PkmnQ
-
1000+ posts
make the ask bock a reporter
Custom reporters can have wait blocks in them. I guess you have to no support custom reporters now. I don't like this idea because it creates the idea of a reporter block which can pause the script that it's running in. Reporters are supposed to give instant output, not pause like this block does.
define a reporter that waits :: reporter
wait (1) secs
report [:)] :: custom cap
Also, while we're talking about custom reporters,
define ask (input) and wait :: custom reporter
ask (input) and wait
report (answer) :: custom cap
Last edited by PkmnQ (Feb. 22, 2021 01:12:32)
- Rendangbike2
-
1000+ posts
make the ask bock a reporter
Support! If Python most programming languagehas this feature, why not Scratch? And Scratch is supposed to be an introduction to programming so it makes sense.
- PkmnQ
-
1000+ posts
make the ask bock a reporter
By the way, would it still change the answer reporter or no?
- Rendangbike2
-
1000+ posts
make the ask bock a reporter
wdym? By the way, would it still change the answer reporter or no?
bow to me for I am Page the 4th.
Last edited by Rendangbike2 (Feb. 22, 2021 01:50:44)
- PkmnQ
-
1000+ posts
make the ask bock a reporter
Would it change this:wdym? By the way, would it still change the answer reporter or no?
(answer)
- Rendangbike2
-
1000+ posts
make the ask bock a reporter
If you typed in the answer with the (ask [] and wait?), yup.Would it change this:wdym? By the way, would it still change the answer reporter or no?(answer)
- Steve0Greatness
-
1000+ posts
make the ask bock a reporter
this is an interesting idea, I do think that it would be nice to shorten code.
I do (sometimes) use multiple ask blocks, but not too often.
I do (sometimes) use multiple ask blocks, but not too often.
- the2000
-
1000+ posts
make the ask bock a reporter
I've changed my mind, this idea is alright I guess. I still think it's a little weird since no other reporter deliberately pauses for this long but eh
- fdreerf
-
1000+ posts
make the ask bock a reporter
Yes, they do. I'm assuming that they go from left to right. Support, I think the answer reporter is unnecessary.
(ask (ask [Which one executes first, the one on the left, or the one that will make this script work?] and wait ::sensing) and wait ::sensing)
Also, what if I want to use the answer more than once? I'd still need to use a variable to save the answer.
Last edited by fdreerf (Feb. 22, 2021 04:58:59)
- PkmnQ
-
1000+ posts
make the ask bock a reporter
Ok, so the order is a bit more complicated. No matter, scratch will decide that.Yes, they do. I'm assuming that they go from left to right. Support, I think the answer reporter is unnecessary.(ask (ask [Which one executes first, the one on the left, or the one that will make this script work?] and wait ::sensing) and wait ::sensing)
Last edited by PkmnQ (Feb. 22, 2021 06:03:02)
- Steve0Greatness
-
1000+ posts
make the ask bock a reporter
I think that it would ask the one inside first…Yes, they do. I'm assuming that they go from left to right. Support, I think the answer reporter is unnecessary.(ask (ask [Which one executes first, the one on the left, or the one that will make this script work?] and wait ::sensing) and wait ::sensing)
Also, what if I want to use the answer more than once? I'd still need to use a variable to save the answer.
- mybearworld
-
1000+ posts
make the ask bock a reporter
Yes, they do. I'm assuming that they go from left to right. Support, I think the answer reporter is unnecessary.(ask (ask [Which one executes first, the one on the left, or the one that will make this script work?] and wait ::sensing) and wait ::sensing)
Also, what if I want to use the answer more than once? I'd still need to use a variable to save the answer.
(join ((2)+(3)) [Which one executes first, the one on the left, or the one that will make this script work?])
- Discussion Forums
- » Suggestions
-
» make the ask bock a reporter