Discuss Scratch
- Discussion Forums
- » Suggestions
- » Just add the rest of the keys already
- C0nyc0n
-
100+ posts
Just add the rest of the keys already
Esc can't be used because it is a shortcut to exit fullscreen.
but other keys would be so useful.
but other keys would be so useful.
- HappyZac314
-
18 posts
Just add the rest of the keys already
Support
But what about things like !@£$%^&*()
<key [ *] pressed?>
But what about things like !@£$%^&*()
Last edited by HappyZac314 (Oct. 13, 2019 17:33:44)
(days until 2.2)
- imfh
-
1000+ posts
Just add the rest of the keys already
Those work, they just aren't in the drop down menu. You can put a block in it instead and it works correctly. Support<key [ *] pressed?>
But what about things like !@£$%^&*()
<key (join [] [@]) pressed?> // This works
Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
- -Snipet-
-
500+ posts
Just add the rest of the keys already
The following keys work with the
a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ - ~ ` : ; " ' < , > . ? / + =
<key (join [] [@]) pressed?>hack:
a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ - ~ ` : ; " ' < , > . ? / + =
- miniepicness
-
1000+ posts
Just add the rest of the keys already
don't forget that all the other keys anyone can type on a keyboard also works. It's not worth making a list for them all. The following keys work with the<key (join [] [@]) pressed?>hack:
a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ - ~ ` : ; " ' < , > . ? / + =
edit: please don't have bad quote tags
Last edited by miniepicness (Oct. 13, 2019 21:16:14)
—————————–
-Click here to go to my profile —-Invited to scratch by AmazingProgrammer123
-Some Old Games: Racing Cats,Hungry Cat, Trapped, Mini-nation, ᴍAdvεnturᴇ﹗ and more!
- My“Any-Game”studio- All of My Projects/Games -My first project -my 200th project - handimation old shop:ACM-PICSHOP
click here for all my posts search the forums my first post :) my first thread/topic | click here
this signature is old⁽¹⁾
uV3b51yWZStHBjA8Lw7k
- EIephant_Lover
-
500+ posts
Just add the rest of the keys already
I know, but it doesn't work. I was saying it doesn't work.He was telling you another methodDoes not work for all keys (e.g. shift, backspace, ctrl, etc.)<key (join [enter] []) pressed?> // doesn't require JSON editing in 3.0
when (join [enter] []) key pressed // requires JSON editing in 3.0
- micro_bitty
-
100+ posts
Just add the rest of the keys already
Workaround:
For alphanumerical keys, you just insert the ASCII or Unicode format for it, like this:
<key (join [key] []) pressed?>NOTE:
For alphanumerical keys, you just insert the ASCII or Unicode format for it, like this:
<key (join [.] []) pressed?>For non-alphanumeric keys, you put in the name of the key, like:
<Not <key (join [period] []) pressed?>. :: operators
<key (join [enter] []) pressed?>
To create an apple script in Scratch, you must first invent the Massachusetts Institute of Technology.Scratcher since 2018 ¦ Professional memer ¦ Check out my projects!
- Starstriker3000
-
1000+ posts
Just add the rest of the keys already
What about ctrl? It doesn't work in that last thing you put. Workaround:<key (join [key] []) pressed?>NOTE:
For alphanumerical keys, you just insert the ASCII or Unicode format for it, like this:<key (join [.] []) pressed?>For non-alphanumeric keys, you put in the name of the key, like:
<Not <key (join [period] []) pressed?>. :: operators<key (join [enter] []) pressed?>
- 46009361
-
1000+ posts
Just add the rest of the keys already
Support.
Please comment on my profile instead - I don't follow this discussion!
There is a MAJOR con, though. This cannot be fixed. The value of the
Please comment on my profile instead - I don't follow this discussion!
There is a MAJOR con, though. This cannot be fixed. The value of the
<key [ v] pressed?>block is affected by the HTML events called onkeydown and onkeyup. The
when [ v] key pressedblock is triggered by the HTML event called onkeypress. However, according to a W3Schools article, the onkeypress event is not triggered for all keys, while the onkeydown and onkeyup events are.
Inspired by coder2045—which, in turn, got inspired by Mr_PenguinAlex.
What's wrong with these blocks? There are zero mistakes because no round has started yet. Beware that some of the mistakes don't relate to the Scratch blocks below.
// No round has started yet.Be the first to comment all of the mistakes on my profile correctly and you'll get a love! You can't comment any mistakes right now because there are none!
- Scratch---Cat
-
1000+ posts
Just add the rest of the keys already
Especially backspace.Shift, Alt, Ctrl etcWhat keys specifically do you need? If it's just enter, you can use the “hacked” block I'm making a GoogIe simulator and l need it.<key (join [enter] []) pressed?>in theif <> thenblocks.
end
wait until <>
repeat until <>
end
Download Scratch 2.0 | Check your messages | Check my messages
_____________________________________________________________________________________________________
If you want to subscribe to this forum topic, please click the
{} Follow Discussion :: ring sensingbutton below this forum post! Thanks!
- arpa76
-
100+ posts
Just add the rest of the keys already
Last edited by arpa76 (April 3, 2020 13:11:11)
I think, therefore I am.
- -GentooPenguin-
-
100+ posts
Just add the rest of the keys already
Support. It would be very useful.
- hocsten
-
100+ posts
Just add the rest of the keys already
You know you could always just use
(join [Whatever] [This is blank])
This account is now unused. Please see @BlooXen and @GlowingK.
- Starstriker3000
-
1000+ posts
Just add the rest of the keys already
That only works for numbers, letters, symbols like “@#$,” and the Enter key… it doesn't work for Shift, Control, or Backspace. You know you could always just use(join [Whatever] [This is blank])
Last edited by Starstriker3000 (April 14, 2020 14:26:44)
- dabigBANG4
-
20 posts
Just add the rest of the keys already
SUPPORT. Shift, tab, caps lock, enter, the punctuation keys, all types of parntheses, slashes, plus minus, ~, * backspace, etc.
- Karioton
-
14 posts
Just add the rest of the keys already
Just in case anyone needs it, I made a custom key detector!
- Scratchfangs
-
1000+ posts
Just add the rest of the keys already
custom key detector!Just in case anyone needs it, I made a
Please don't necropost. I'm reporting this forum to be closed.
But thanks for the project!
![](http://cdn.scratch.mit.edu/scratchr2/static/__782bebc052348e6af69e567507a6f435__/djangobb_forum/img/smilies/smile.png)
Last edited by Scratchfangs (June 1, 2020 16:51:19)
- coder2045
-
1000+ posts
Just add the rest of the keys already
Alt-F-huh? What does that do?Function keys are probably not a good idea, as most are usually bound to something, and, if someone is inexpirienced with a computer, they might mess up settings while trying to play a game. 100% support.
If you want full game controls, you need:
F keys
shift
enter
most other keys
My computer for instance, requires me to press ctrl when using the function keys to keep them from messing with my brightness/volume/screen settings. The only key that isn't bound to something is f5.
If someone didn't know this they might blame scratch for making their screen dim, or causing a video they were playing in the background to go full blast. OR they might accidentally be pressing another key when using them, which can cause it to go bad quickly, with alt+f4, etc.
Highlight this text and press Ctrl-Shift-Down to view more of my signature. There's a lot in there.
I FOUND THE POSTIE POSTIE POST LINK THIS
Brainteaser: What comes next? Answer on my profile. First correct answer gets a follow.
[ ]
[ [ ] ]
[ [ [ ] ] [ ] ]
Good projects ⬇️
![](https://u.cubeupload.com/cubeupload8192/1.png)
![](https://u.cubeupload.com/cubeupload8192/3.png)
![](https://u.cubeupload.com/cubeupload8192/Screenshot2022020360.png)
- Vercte
-
500+ posts
Just add the rest of the keys already
It closes the window~snip~Alt-F-huh? What does that do?
![](http://cdn.scratch.mit.edu/scratchr2/static/__782bebc052348e6af69e567507a6f435__/djangobb_forum/img/smilies/tongue.png)
not that active anymore
_________
Seriously. Period. I'm not that active anymore. I've recently realised that Scratch, while good for basic programing, is just not that versatile for making games. So, I've moved on to engines like Roblox and Stencyl, which are entirely different from scratch. Farewell.
- AmazingMech2418
-
1000+ posts
Just add the rest of the keys already
This can be done quite easily now using the join block in the key pressed block (cannot be used in the key event hat block). Though, it would be more convenient to include the other keys in the dropdown as well. I've already submitted a pull request to add more keys and it was closed for an unknown reason.
I'm a programmer, ethical hacker, and space nerd!
Last edited by Neil Armstrong (July 20, 1969 20:17:00)
sam