Discuss Scratch

Greenduck54
Scratcher
500+ posts

All keys on keyboard

AonymousGuy wrote:

Not enter, it is used for starting the project.

As for a lot of other keys, they can't be reliably detected by Flash because they are named different things for different keyboards, so that would end up causing a lot of confusion when some people could use projects which other people couldn't.
Scratch 3.0 is going to be coded in HTML, so that won't e a problem once 3.0 is out
I support this suggestion

Scratch 3.0 is here! So now, you can Google Translate everything!
Last edited by Greenduck54 (Jan. 1, 2020 00:00:00)
;
Invisible_Factory
Scratcher
500+ posts

All keys on keyboard

Support.

Griffpatch has made a workaround with ASCII, but then I don't feel like going to the project and backpacking it and all that stuff. It would be better to just have it as an option for all key detection blocks.

Currently, I have 860 posts.
(Also, suggest things I should put on here. The white space is sad.)There's nothing else here. Just a white space. ↓





Wheatly_Scratcher
Scratcher
100+ posts

All keys on keyboard


savaka wrote:

I think you should be able to do any key you want on the keyboard for the key press block. I know Flash can do this so it is possible. Maybe you could click on the field in the key press block and instead of a drop down menu it says “Press the key you want” and then you press it and it goes in the block.
Sorry, but no support for 1 reason:

1) I don't see a big use for it. For example, if you made a game where you need to press Enter to start it, but there is no way to check that, you can always use a different key, like Space. I did find a use for the Tab key, where if you were making a program where what the user wrote using the keys would appear on the screen, and you needed to Tab to well, simulate Tab, but there are workarounds where you can use the Right Arrow key or something else that makes sense instead of Tab.

So, sorry, but for that reason, no support.

Last edited by Wheatly_Scratcher (April 8, 2017 14:52:49)


Check these RPs out!: POWERED and Immortal!

Wheatly_Scratcher wrote:

Quoting oneself is just a desperate way to try to make oneself seem right.
(Tauqmuk) // Here is Tauqmuk, my kumquat protector. Because I'm curious, 
// I will reverse his name. K-U-M-Q-U-A-T. Wait, what? Tauqmuk: This signature has been eaten.
donotforgetmycode
Scratcher
100+ posts

All keys on keyboard

when [esc v] key pressed
<key [esc v] pressed?>
when [return v] key pressed
<key [return v] pressed?>
when [F1-F12 v] key pressed
<key [F1-F12 v] pressed?>
when [tab v] key pressed
<key [tab v] pressed?>
when [Any punctuation v] key pressed
<key [Any punctuation v] pressed?>
when [shift v] key pressed
<key [shift v] pressed?>

Generation 3: the first time you see this, copy and paste it on top of your signature in the Scratch Forums and increment generation by 1. Very important social experiment.
kimachu_
Scratcher
54 posts

All keys on keyboard

Mickey_Fan wrote:

Seems good. Support.
Please post constructive posts.

I'm a whale
- Jeon Jungkook


savaka
Scratcher
1000+ posts

All keys on keyboard

Wheatly_Scratcher wrote:

2) The suggestion where instead of a dropdown, there would be a message saying “Press the key you want.” or something like that, and the key pressed would be the one selected, has one problem. Let's say that you wanted to select “A”. So, you pressed “A”, but, you accidentally pressed “S” at the same time. Maybe your finger was in between, maybe you put your finger over both, or maybe you were just curious. However, since you pressed “A” and “S” at the same time, it can't be
<key [a v] pressed?>
or
<key [s v] pressed?>
(Definitely, not
<key [as v] pressed?>
, “as” is not a key ), because you pressed them at the same time. So what could it possibly become?
You can't actually press 2 keys at the same time. For example, in a text field, if you press 2 keys at the same time, they will be typed in some order. This isn't actually a problem.
elim2020
Scratcher
14 posts

All keys on keyboard

it would be good to have
<key [] pressed? :: sensing>

forever::hat
forever
forever::stack
forever::cap
<forever>
(forever)
elim2020
Scratcher
14 posts

All keys on keyboard

it would be good to have
<key [] pressed? :: sensing>

forever::hat
forever
forever::stack
forever::cap
<forever>
(forever)
miniepicness
Scratcher
1000+ posts

All keys on keyboard

Kyle2Death wrote:

MeDiaMond wrote:

AonymousGuy wrote:

Not enter, it is used for starting the project.

As for a lot of other keys, they can't be reliably detected by Flash because they are named different things for different keyboards, so that would end up causing a lot of confusion when some people could use projects which other people couldn't.
You're right Ithink, but how could griffpatch make a hack then?

I don't spport people who breake Scratch bounderys by hacking to get features thay need. Scratch was ment to be easy to learn.
it is not hacking, it is changing the code they give you.
ThecoolZ
Scratcher
39 posts

All keys on keyboard

savaka wrote:

I think you should be able to do any key you want on the keyboard for the key press block. I know Flash can do this so it is possible. Maybe you could click on the field in the key press block and instead of a drop down menu it says “Press the key you want” and then you press it and it goes in the block.

EDIT: except the Windows key, menu key, volume/media keys, or anything else that is not used by other applications

Complete support on this, I need symbol keys on nearlly all of my projects

when I receive [ThecoolZ logging on v]
switch costume to [awake v]
play sound [hooray v]
broadcast [start scratching v]
change [epicness v] by (1)
ThecoolZ
Scratcher
39 posts

All keys on keyboard

Kyle2Death wrote:

MeDiaMond wrote:

AonymousGuy wrote:

Not enter, it is used for starting the project.

As for a lot of other keys, they can't be reliably detected by Flash because they are named different things for different keyboards, so that would end up causing a lot of confusion when some people could use projects which other people couldn't.
You're right Ithink, but how could griffpatch make a hack then?

I don't spport people who breake Scratch bounderys by hacking to get features thay need. Scratch was ment to be easy to learn.
umm….. @Kyle2Death mate I kind of support you, but just…. they're not hacking, just experimenting with the code. There's a difference, ya know.

when I receive [ThecoolZ logging on v]
switch costume to [awake v]
play sound [hooray v]
broadcast [start scratching v]
change [epicness v] by (1)
awesome5185
Scratcher
1000+ posts

All keys on keyboard

kimachu_ wrote:

Mickey_Fan wrote:

Seems good. Support.
Please post constructive posts.
Please post constructive posts. What you said is in no way constructive, go do that on a profile.

~

Anyway I already commented before so yah.

Regards,
awesome5185

Featured Studio!
Ask Ouija!
Ask a question and get your answers one. letter. at. a. time. Join now!

; Santa Claus and Mrs Claus wanted to get a devorce. However, being in the north pole, there was no one there to help them do that. So they used a semi colon instead; they are great for seperating two independent clauses.
Techno-CAT
Scratcher
500+ posts

All keys on keyboard

Last edited by Techno-CAT (Nov. 1, 2017 10:54:14)



Consider AMD's Ryzen 3000 series CPU for your next PC build, the most advanced desktop processors in the world - www.amd.com/en/ryzen
Sheep_maker
Scratcher
1000+ posts

All keys on keyboard

Would the Mac command key be allowed (since it's the same key as the Chromebook search key and Windows Windows key)? And how about keys on non-US keyboards (it looks like the UK keyboard has one more key than the US keyboard to allow for ¬ and £)?

- Sheep_maker This is a kumquat-free signature. :P
My signature appears below all my posts; discuss it on my profile, not the forums.
To make your own, click “Change your signature” at the bottom of the main forums page.

<key (join [enter] []) pressed?> // This works now
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
LionHeart70
Scratcher
1000+ posts

All keys on keyboard

Support.

lh70 / nora/tobi / she-they pronouns / pansexual-demisexual / 14 / sagittarius / furry / artist / intp / stop-motion films / lbp / fall out boy / panic! at the disco / twenty one pilots / stranger things / a series of unfortunate events
“When you have a bad day, a really bad day, try and treat the world better than it treated you.” -Patrick Stump
“Music seems to hold everything together. It seems to make things not so chaotic sometimes. It seems to make things make more sense sometimes.” -Tyler Joseph
“You'll fear your fears forever if you never do things you're afraid of.” -Josh Dun
“I'm still figuring out who I am, but I know I'm not who I was.” -Brendon Urie
epiccool5
Scratcher
49 posts

All keys on keyboard

What about the key Join()() pressed
JSON trick?

Last edited by epiccool5 (July 2, 2017 17:18:23)

Green_yoshi
Scratcher
47 posts

All keys on keyboard

epiccool5 wrote:

What about the key Join()() pressed
JSON trick?
What do you mean?
Charles12310
Scratcher
1000+ posts

All keys on keyboard

No Support. Some keys can't be used in operation in projects because one example is the “enter” key which starts the project.


Click This Link For Some Secrets About Me!
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
FancyFoxy
Scratcher
500+ posts

All keys on keyboard

Green_yoshi wrote:

epiccool5 wrote:

What about the key Join()() pressed
JSON trick?
What do you mean?
I'm pretty sure it involves saving your project as a .zip file and extracting it. Then, you can go to the .json file and open it in Notepad. You can edit the code, so you can put whatever key at the <key pressed> part.

THIS IS MY SIGNATURE. THIS MEANS IT IS AN AUTOMATIC MESSAGE THAT APPEARS AT THE BOTTOM OF ALL MY POSTS.
Hi! I'm FancyFoxy! I create animations and games that were never, EVER meant to be taken seriously.
FancyFoxy Heroes and #Thanksgiving are some of my latest projects, check them out!
Sheep_maker
Scratcher
1000+ posts

All keys on keyboard

Green_yoshi wrote:

epiccool5 wrote:

What about the key Join()() pressed
JSON trick?
What do you mean?
By modifying the project.json of a project, you can get a join _ _ block put in the key _ pressed dropdown:
<key (join[$][]) pressed?> // will detect if shift+4 is being pressed, at least on a US keyboard
Typing a letter in one of the inputs selects which key it should detect

- Sheep_maker This is a kumquat-free signature. :P
My signature appears below all my posts; discuss it on my profile, not the forums.
To make your own, click “Change your signature” at the bottom of the main forums page.

<key (join [enter] []) pressed?> // This works now
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }

Powered by DjangoBB

Standard | Mobile