Discuss Scratch
- Discussion Forums
- » Suggestions
- » "Scratcher?" block
- indiaLC
-
100+ posts
"Scratcher?" block
i think there should be a scratcher block, a bit like the username block, that presents true when the person is a scratcher, and false when they are new scratcher.
it could be used like this:
So like if you have a game with cloud variables you could do this:
it could be used like this:
when green flag clickedexcept the “Scratcher?” block would be blue for the “Sensing” categorie.
if (Scratcher?) then
...
else
...
end
So like if you have a game with cloud variables you could do this:
when green flag clickedAlso, if you say that you can just do this:
if (Scratcher?) then
...
else
say [Sorry! You are a new scratcher! You can't do multiplayer yet! Why don't you play single player for now?] for (4) secs
end
set [☁variable v] to [1 ]this would not work as for new scratchers, cloud variables just act like normal variables, it is just not changed over the cloud.
if <(☁variable) = [1 ]> then
say [you are a scratcher] for (2) secs
else
say [you are a new scratcher] for (2) secs
end
Last edited by indiaLC (March 22, 2016 19:08:07)
- theory_
-
86 posts
"Scratcher?" block
very interesting. I agree this might be helpful. Support.
- DaSpudLord
-
1000+ posts
"Scratcher?" block
when gf clicked
if <user is a scratcher?::sensing> then
continue the project::grey
else
say [Ha ha! You're a new scratcher! You suck!]
end
- Sheep_maker
-
1000+ posts
"Scratcher?" block
Support if it is only available when cloud is used in the project
- Lythium
-
1000+ posts
"Scratcher?" block
No support 'cause of this.when gf clicked
if <user is a scratcher?::sensing> then
continue the project::grey
else
say [Ha ha! You're a new scratcher! You suck!]
end
- indiaLC
-
100+ posts
"Scratcher?" block
thanks! very interesting. I agree this might be helpful. Support.
- iamunknown2
-
1000+ posts
"Scratcher?" block
You might as well do this:when gf clicked
if <user is a scratcher?::sensing> then
continue the project::grey
else
say [Ha ha! You're a new scratcher! You suck!]
end
when gf clickedSo why no support?
if <(username) = [iamunknown2]> then
say [Ha ha! You're iamunknown2! You suck!]
end
Last edited by iamunknown2 (March 22, 2016 10:25:29)
- Sigton
-
1000+ posts
"Scratcher?" block
Using cloud data etc you can already find out if a scratched is a new scratcher, plus @DaSpudLord'snresponse. No support.
Sigton
Sigton
- Ravenpaw-Warrior
-
100+ posts
"Scratcher?" block
^^ No support because of thiswhen gf clicked
if <user is a scratcher?::sensing> then
continue the project::grey
else
say [Ha ha! You're a new scratcher! You suck!]
end
- TheLogFather
-
1000+ posts
"Scratcher?" block
This has been suggested numerous times – here are some examples:
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/36295/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/42497/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/90260/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/182401/
It's worth reading through the above discussions about it (in particular, why the more sensible thing to detect is cloud connection, since that's what really matters to a project…)
The ‘workaround’ is not at all obvious (even though it does end up being simple). Most of the ways that people think up for detecting this using cloud variables will not work (because they don't really understand how cloudvars behave…)
AFAIA, this New Scratcher Detector project is the only possible way to do it (technically, it detects cloud connection status, and you can see that more clearly if you look at this cloud connection test project, which has no sprites and no scripts – doesn't even need running to see the result!)
If you see projects trying to detect New Scratcher a different way (e.g. by changing cloudvars, etc.), they are very unlikely to work.
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/36295/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/42497/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/90260/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/182401/
It's worth reading through the above discussions about it (in particular, why the more sensible thing to detect is cloud connection, since that's what really matters to a project…)
No support, easy workaround.@mrbobbygreathead: Maybe you know this already – but for the benefit of others reading this…
The ‘workaround’ is not at all obvious (even though it does end up being simple). Most of the ways that people think up for detecting this using cloud variables will not work (because they don't really understand how cloudvars behave…)
AFAIA, this New Scratcher Detector project is the only possible way to do it (technically, it detects cloud connection status, and you can see that more clearly if you look at this cloud connection test project, which has no sprites and no scripts – doesn't even need running to see the result!)
If you see projects trying to detect New Scratcher a different way (e.g. by changing cloudvars, etc.), they are very unlikely to work.
Last edited by TheLogFather (March 22, 2016 11:55:45)
- Paddle2See
-
1000+ posts
"Scratcher?" block
Thanks for the great summary and the links! I'm going to direct all the conversation back to This has been suggested numerous times – here are some examples:the original topic - but copy your summary post to that topic as well.
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/36295/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/42497/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/90260/
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/182401/
It's worth reading through the above discussions about it (in particular, why the more sensible thing to detect is cloud connection, since that's what really matters to a project…)No support, easy workaround.@mrbobbygreathead: Maybe you know this already – but for the benefit of others reading this…
The ‘workaround’ is not at all obvious (even though it does end up being simple). Most of the ways that people think up for detecting this using cloud variables will not work (because they don't really understand how cloudvars behave…)
AFAIA, this New Scratcher Detector project is the only possible way to do it (technically, it detects cloud connection status, and you can see that more clearly if you look at this cloud connection test project, which has no sprites and no scripts – doesn't even need running to see the result!)
If you see projects trying to detect New Scratcher a different way (e.g. by changing cloudvars, etc.), they are very unlikely to work.
- Discussion Forums
- » Suggestions
-
» "Scratcher?" block