Discuss Scratch

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?
majesticstar
Scratcher
32 posts

If any key pressed...

#Support !
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 too
reporter could work too.

haha funny kumquat meme
mundofinkyenglish
Scratcher
100+ posts

If any key pressed...

+1
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
ev3coolexit987654
Scratcher
1000+ posts

If any key pressed...

SUPpoRT
Letsgopitt
Scratcher
500+ posts

If any key pressed...

picklehazard wrote:

Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
Why not? It would just work for both of them simultaneously. I don't see that as being a problem.
On an unrelated note, I'm scrapping the follower count.

Last edited by Letsgopitt (May 13, 2015 21:29:45)

Letsgopitt
Scratcher
500+ posts

If any key pressed...

Letsgopitt wrote:

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 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 pressed
stamp
Any other ideas?

I got rid of the supporter count.
charlesdog
Scratcher
1000+ posts

If any key pressed...

support

i really dont know what to put here
picklehazard
Scratcher
500+ posts

If any key pressed...

Letsgopitt wrote:

picklehazard wrote:

Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
Why not? It would just work for both of them simultaneously. I don't see that as being a problem.
On an unrelated note, I'm scrapping the follower count.
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!

A huge Bob Marley fan
Prinseskat
Scratcher
1000+ posts

If any key pressed...

picklehazard wrote:

Letsgopitt wrote:

picklehazard wrote:

Semi-Support. It Would Be Cool To See Something Like That, But There Could Be Multiple Sprites, So That Wouldn't Really Work Out.
Why not? It would just work for both of them simultaneously. I don't see that as being a problem.
On an unrelated note, I'm scrapping the follower count.
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!
wut
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...

MegaApuTurkUltra wrote:

Support, would be useful for new scratchers
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.
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.
(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...

kingbiollante wrote:

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 for
if <(answer) = (any)> then

end

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?
MegaApuTurkUltra
Scratcher
1000+ posts

If any key pressed...

Letsgopitt wrote:

kingbiollante wrote:

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 for
if <(answer) = (any)> then

end

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?
Yeah, I'm confused as well. Do you just mean anything non-empty. If so, that's a good idea. You would mean
if <(length of (answer)) > (0)> then
end
However there isn't a similar thing for keys. Maybe
(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 red
But 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...

MegaApuTurkUltra wrote:

Letsgopitt wrote:

kingbiollante wrote:

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 for
if <(answer) = (any)> then

end

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?
Yeah, I'm confused as well. Do you just mean anything non-empty. If so, that's a good idea. You would mean
if <(length of (answer)) > (0)> then
end
However there isn't a similar thing for keys. Maybe
(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 red
But that wouldn't be very easy to use. Adding the “any” option to the key pressed dropdowns is a better idea IMO
Yeah, I didn't think this would become that complicated.
Seapats
Scratcher
70 posts

If any key pressed...

Zappy1333 wrote:

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!

Letsgopitt wrote:

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...

Thepuzzlegame wrote:

Support, very easy to add but would have a lot of uses.

Powered by DjangoBB