Discuss Scratch
- Discussion Forums
- » Suggestions
- » If any key pressed...
- 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:
Any other ideas?
I got rid of the supporter count.
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.
Last edited by Letsgopitt (May 15, 2015 23:42:44)
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
- Thepuzzlegame
- Scratcher
1000+ posts
If any key pressed...
Support, very easy to add but would have a lot of uses.
hi!
- PaganoLeo10
- Scratcher
100+ posts
If any key pressed...
Too unclear. Would it include JUST the options in the dropdown or more options like shift? Would the mouse down count?
BUT, it would be convienient.
Support +0.5.
BUT, it would be convienient.
Support +0.5.
Moving on from Scratch? Learn a C derivative or Java.
Please give me an internet (Yes, I am UnitedUntitled.) In return you get a slogan.
“Scratch is awesome” 43 translations later with Yandex we get “What is good”.
Being awesome, staying awesome. -PaganoLeo10
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
In my mind, I didn't think of mouse keys. However, that may be a good idea… maybe you could chose to include mouse click or not? Also, I was not planning on using shift. It has other uses (e.g. turbo mode) and that may not work. Too unclear. Would it include JUST the options in the dropdown or more options like shift? Would the mouse down count?
BUT, it would be convienient.
Support +0.5.
Does that clear things up?
Full Support?
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
- Zappy1333
- Scratcher
100+ posts
If any key pressed...
Support!
Also another related idea:
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>
<and more...::sensing>
Mario AI | Death Pong | Crash Bandicoot Turbo Dash | Flappy Bird Scratch | AI engine | Pokémon Catching Engine G1
Imagine, Program, Be awesome!
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Thanks for the support and ideas! However, for the convenience of this topic, could you put those ideas in a new topic? Don't get me wrong, I think those are very good ideas. However, I just think that would make more sense. Thanks! 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>
<and more...::sensing>
PS: Put me down for support on the those ideas. The reporters could simplify a lot of things. Also, be aware that people will tell you to work around it with this:
when [x v] key pressed
set [last key pressed v] to [x ]
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
- Knashler
- Scratcher
16 posts
If any key pressed...
SUPPORT! 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 pressedThanks, and Scratch On!
stamp
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Bump.
I think this is very easy to implement, so any other supporters?
I think this is very easy to implement, so any other supporters?
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
- 19f8361
- Scratcher
500+ posts
If any key pressed...
support, along with more keys in
when [ v] key pressedlike: !@#$%^&*()_+~`-=,./<>?;':"{}
<key [ v] pressed?>
Last edited by 19f8361 (Feb. 17, 2015 21:04:29)
- CatsUnited
- Scratcher
1000+ posts
If any key pressed...
Semi-support. I would like
(key pressed? :: sensing)because you can do
if <not <( key pressed? :: sensing) = [ ]>> then
... :: grey
end
Last edited by CatsUnited (Feb. 16, 2015 23:00:44)
bottom text
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
Bump.
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...
Bumpity bomb.
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
- gigapouch
- Scratcher
1000+ posts
If any key pressed...
+0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
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
- gigapouch
- Scratcher
1000+ posts
If any key pressed...
How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
- djdolphin
- Scratcher
1000+ posts
If any key pressed...
…????? No it wouldn't.How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
!
- Letsgopitt
- Scratcher
500+ posts
If any key pressed...
I don't think that would happen, but both commands would go at the same time. Also, they would be used in different circumstances.…????? No it wouldn't.How would it conflict with other commands? Could you give me an example? +0.5 support. Although it could be replicated with some time, it might interfere with other key pressed blocks.
If you had other key pressed blocks and you pressed one of those keys accidentally, the command that block would trigger would also trigger with the if any key pressed command. It may make the editor crash.
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
- Discussion Forums
- » Suggestions
- » If any key pressed...