Discuss Scratch

A-no-meep
Scratcher
100+ posts

If any key pressed...

theonlygusti wrote:

Thepuzzlegame wrote:

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

[ v]
A dropdown to nowhere
TheUniversalWorld1
Scratcher
100+ posts

If any key pressed...

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.

ƬΉΣЦПIVΣЯƧΛᄂЩӨЯᄂD1


Click here to support the
(user id :: sensing)
block!
Do it for me ;)
Birdlegs
Scratcher
1000+ posts

If any key pressed...

TheUniversalWorld1 wrote:

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.
It would be kinda like a big succession of “or” booleans with all supported keys inside. If they had to literally use that internally, that's okay, right?

Get a sweet lick of my new game right here! It's a tasty one!
Polaris-
Scratcher
100+ posts

If any key pressed...

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Letsgopitt
Scratcher
500+ posts

If any key pressed...

Polaris- wrote:

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Yeah, and you can't make custom hat blocks or reporters.
Birdlegs
Scratcher
1000+ posts

If any key pressed...

Letsgopitt wrote:

Polaris- wrote:

Support all the way.

Literally the only workaround is to make a ridiculously long and block. Seen that once or twice.
Yeah, and you can't make custom hat blocks or reporters.
Still could sorta do hat with broadcasts, but that's not the point here.

Get a sweet lick of my new game right here! It's a tasty one!
thelucariokid
Scratcher
100+ posts

If any key pressed...

99% Support, because it's workaroundable, but the workaround takes a while to make.

____ ____
<●> <●>

________

IAP-Reloaded
Scratcher
100+ posts

If any key pressed...

Support!
Iloverollercoasters
Scratcher
100+ 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 other ideas?
I got rid of the supporter count.

Well, I would really like the ‘key enter pressed’ blocks, so this is right for me. Support.

Horrible House contest Join it now!
Have you clicked this or this or maybe even this? How about this or this? Maybe this? If you haven't don't has- Grr… Evil kumquats, why you got to eat it… Guess what! I hate the 60 second rule!
Kumquat alert Oh, here:
 when green flag clicked
forever
eat @-EvilKumquat-
end[/url]






when [chromometer altimeter v] = [5th length v] and [7th length v] with a [gap v] of (17) ::events hat
forge [chromometer v] altimeter until < (speed) = (velocity)> ::control cstart
switch places with (759 v) altimeters with value of (speed) ::looks
control [altimeter 1 v] at time (10):(17):(58) ::control
end
initialize sequence (24) so [object 3 v] moves to x (156) y (231) ::control
reveal [final answer v] and stop running this script ::events cap
[scratchblocks]
When green flag clicked
trigger pen::pen

when pen is triggered::pen hat
pen up
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180)
pen down
repeat (pick random (15)to(10000)
render
end

define render
set pen tranceparency to (43)::pen
repeat (89)
move (17) steps and turn down (87) degrees::motion
end
repeat (98)
move (-34) steps and turn up (43.5) degrees::motion
end
go to x(pick random (-10) to (10)) y (pick random (-10) to (10)
if <((x position)=(0))and ((y position)=(0)
stamp
render
else
stop this script and stamp at size (3) and x(89) y(52)::pen cap
end

This is a script that goes on with the other scripts:::grey

When all scripts are done::hat
run the scripts again::events
[/scratchblocks]
Molley24
Scratcher
40 posts

If any key pressed...

Yes!!! Great idea!!! Support!

Hi! I'm Molley24!
I am a musician, artist, and hopeful writer, and I have a dog, Molley!
Pot-of-Gold
Scratcher
1000+ posts

If any key pressed...

Support


Click to play
Letsgopitt
Scratcher
500+ posts

If any key pressed...

Thanks! Wow, this topic keeps getting bumped by other people…
violin16
Scratcher
99 posts

If any key pressed...

Maybe something like this?

when [Any Letter Key v] key pressed

and then add a dropdown that includes Any Number, Any Arrow and Any Key ?

Play On!

-violin16

Generation 378: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.

Willing to voice act? Try out to voice for my new animated series!
Superbevzeeb
Scratcher
54 posts

If any key pressed...

Yes! People usually use the spacebar thing for this, but an any key block would work best!
Pot-of-Gold
Scratcher
1000+ posts

If any key pressed...

Sh0pkinsRdabest wrote:

There is a workaround that will take forever:
when [a v] key pressed
do stuff
And repeat that for every key
But, that will take a long time,
Also, for typing stuff I would like a
<key pressed?>
Which could be used like:
if <<key  pressed?> = [a ]> then
stamp

end
So support
if i hadn't said already support as per this


Click to play
marilynjosiahbojo
Scratcher
30 posts

If any key pressed...

I'll support!

This is my signature. You like it?
BlueCrayfish
Scratcher
500+ posts

If any key pressed...

CatsUnited wrote:

Semi-support. I would like
(key pressed? :: sensing)
because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end

Does this pique your interest:
A 26 year old accountant was framed for changing records, who, now a fugitive, flees, and tries to find the organization who actually coordinated the scam.

Would you be interested in joining:
A collab that is checked every day and managed well.

Then why don't you click the sunglasses guy?

BookOwl
Scratcher
1000+ posts

If any key pressed...

SUPPORT!!!

who needs signatures
TheUniversalWorld2
Scratcher
80 posts

If any key pressed...

TheUniversalWorld1 wrote:

<key [any v] pressed?>
might have a problem with the Scratch source code, but if they could make a block like it, support.
^

TheUniversalWorld2 ………………………………………………………………………………………………………………………………………………………………………
Letsgopitt
Scratcher
500+ posts

If any key pressed...

BlueCrayfish wrote:

CatsUnited wrote:

Semi-support. I would like
(key pressed? :: sensing)
because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end
But couldn't
<key pressed?> :: sensing
be done with
<key [any v] pressed?>
?

Powered by DjangoBB