Discuss Scratch
- Discussion Forums
- » Suggestions
- » If any key pressed...
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
This topic was kind of dead, but I still think it should be implemented. Do I just keep going on this thread I guess?
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- LiuBang10
- Scratcher
39 posts
If any key pressed...
Support!
Hi! I'm Liu Bang, the first emperor of the Han dynasty.
And for those with Khan Academy accounts, join my club!
- Prinseskat
- Scratcher
1000+ posts
If any key pressed...
Support. Along with this, a
([current v] key pressed::sensing)//can report last key tooreporter could work too.
haha funny kumquat meme
- picklehazard
- Scratcher
500+ posts
If any key pressed...
Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
A huge Bob Marley fan
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Why not? It would just work for both of them simultaneously. I don't see that as being a problem. Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
On an unrelated note, I'm scrapping the follower count.
Last edited by Letsgopitt (May 13, 2015 21:29:45)
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Title explains it all. There should be an option to make scripts that function when any key is clicked, like this:when [any v] key pressed // I'm not sue if it should be a the top or bottom of the dropdown, or if it should be default.<key [any v] pressed?> // dittoAny thoughts, please reply/support! I am making a text engine and it would be good to have a script like this to simplify things:when [any v] key pressedAny other ideas?
stamp
I got rid of the supporter count.
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- picklehazard
- Scratcher
500+ posts
If any key pressed...
I Have No Idea Why, But I Kind Of Just Can Tell That It Wouldn't Work Out. For Some Reason I Just Don't Have An Explanation. Sorry!Why not? It would just work for both of them simultaneously. I don't see that as being a problem. Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
On an unrelated note, I'm scrapping the follower count.
A huge Bob Marley fan
- Prinseskat
- Scratcher
1000+ posts
If any key pressed...
wutI Have No Idea Why, But I Kind Of Just Can Tell That It Wouldn't Work Out. For Some Reason I Just Don't Have An Explanation. Sorry!Why not? It would just work for both of them simultaneously. I don't see that as being a problem. Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
On an unrelated note, I'm scrapping the follower count.
You don't know why it wouldn't work, so why do you think it wouldn't work?
Last edited by Prinseskat (May 14, 2015 04:42:15)
haha funny kumquat meme
- MegaApuTurkUltra
- Scratcher
1000+ posts
If any key pressed...
Support, would be useful for new scratchers
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
I think it would work for everyone, like with “press any key to begin” and stuff like that, or with an endless runner that can have you press any key. Support, would be useful for new scratchers
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- kingbiollante
- Scratcher
71 posts
If any key pressed...
instead of any being an option in the key detecter block, it could be made it's own block
E.G.
E.G.
(any)so it could also be used for
if <(answer) = (any)> then
end
when I receive [code v]
if <[code] = [code]> then
set [code v] to [code]
switch costume to [code v]
insert [code] at (code v) of [code v]
go to [code v]
end
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Could you elaborate a little more? How would that work? If you had “If answer=any” you wouldn't need the if block because anything could be any. Also, what would the any reporter report? instead of any being an option in the key detecter block, it could be made it's own block
E.G.(any)so it could also be used forif <(answer) = (any)> then
end
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- MegaApuTurkUltra
- Scratcher
1000+ posts
If any key pressed...
Yeah, I'm confused as well. Do you just mean anything non-empty. If so, that's a good idea. You would meanCould you elaborate a little more? How would that work? If you had “If answer=any” you wouldn't need the if block because anything could be any. Also, what would the any reporter report? instead of any being an option in the key detecter block, it could be made it's own block
E.G.(any)so it could also be used forif <(answer) = (any)> then
end
if <(length of (answer)) > (0)> thenHowever there isn't a similar thing for keys. Maybe
end
(list of keys pressed::sensing)could be used with
for each [key v] in (list of keys pressed::sensing)::cstart // real block, although it's redBut that wouldn't be very easy to use. Adding the “any” option to the key pressed dropdowns is a better idea IMO
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Yeah, I didn't think this would become that complicated.Yeah, I'm confused as well. Do you just mean anything non-empty. If so, that's a good idea. You would meanCould you elaborate a little more? How would that work? If you had “If answer=any” you wouldn't need the if block because anything could be any. Also, what would the any reporter report? instead of any being an option in the key detecter block, it could be made it's own block
E.G.(any)so it could also be used forif <(answer) = (any)> then
endif <(length of (answer)) > (0)> thenHowever there isn't a similar thing for keys. Maybe
end(list of keys pressed::sensing)could be used withfor each [key v] in (list of keys pressed::sensing)::cstart // real block, although it's redBut that wouldn't be very easy to use. Adding the “any” option to the key pressed dropdowns is a better idea IMO
Stop saying that something could potentially confuse a New Scratcher as justification of saying No Support!
This is the B-est of B-sides.
Hope you had to wait in a long line.
We never even played this song live.
This is the B-est of B-sides.
-ʎɥsols
- Seapats
- Scratcher
70 posts
If any key pressed...
Support!
Also another related idea:(last key pressed::sensing)//which could be used with this:
<[ v] is a [letter v]::sensing>
<[ v] is a [number v]::sensing>
<[ v] is a [key(shift ect) v]::sensing>
Awesome!
Title explains it all. There should be an option to make scripts that function when any key is clicked, like this:when [any v] key pressed // I'm not sue if it should be a the top or bottom of the dropdown, or if it should be default.<key [any v] pressed?> // ditto
Any other ideas?
I got rid of the supporter count.
These are great! +999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 Surport!
Last edited by Seapats (May 23, 2015 11:31:27)
Three things i dislike:
1. Lists
2. Signatures
4. Irony
5. When people say they only are going to say 3 things then say 4.
- theonlygusti
- Scratcher
1000+ posts
If any key pressed...
Support, very easy to add but would have a lot of uses.
- Discussion Forums
- » Suggestions
- » If any key pressed...