Discuss Scratch

AlexINF
Scratcher
76 posts

More keys to be pressed

Just, you can hack the .JSON file on the project and change the code.

Also, There's a project here showing some hacked blocks.
DaSpudLord
Scratcher
1000+ posts

More keys to be pressed

AlexINF wrote:

Just, you can hack the .JSON file on the project and change the code.

Also, There's a project here showing some hacked blocks.
In order for a workaround to be valid, it must be possible to create in vanilla Scratch- no JSON hacks or mods.
pkexe
Scratcher
85 posts

More keys to be pressed

Better num lock home end pgup pgdn prtsc sysrq window key for windows


CLICK HERE or else CLICK HERE!
Roaring_Inferno
Scratcher
100 posts

More keys to be pressed

Support as per above.
DaSpudLord
Scratcher
1000+ posts

More keys to be pressed

pkexe wrote:

Better num lock home end pgup pgdn prtsc sysrq window key for windows]

(unnecessary quotes removed by DaSpudLord)

CLICK HERE or else CLICK HERE!
Please don't quotespam or advertise on the suggestions forum. Thanks!
BobbyF_Extras
Scratcher
7 posts

More keys to be pressed

Definitely support. If we could have the option to use the Enter, Ctrl and Shift Key, that'd be awesome by itself. Makes controls for a 2nd player in any game or simulation very difficult for them.
Informinity
Scratcher
100+ posts

More keys to be pressed

There are some hacked blocks that do that, but It would be easier just having them in the vanilla scratch program. Support.
pvz_pro
Scratcher
500+ posts

More keys to be pressed

Support!
Candylanguagegirl
Scratcher
1000+ posts

More keys to be pressed

Greatguy123 wrote:

I have an idea! I think it would be a great idea to add more keys. It might get a little irritating, however, because the list of letters is already pretty long. Maybe the ST could make it so that you choose the key by clicking into the block and typing in the key you want!

Just an idea. If you don't want this here, that's fine. I just thought it might be ok because its kind of the same topic. I can make this a new topic if you want.
Support for this block. Nice and small and I could seriously use it.
Ottertamer
Scratcher
60 posts

More keys to be pressed

I support this! We also need stuff like
when [shift v] key pressed
Sheep_maker
Scratcher
1000+ posts

More keys to be pressed

1) Not all keyboards have the same symbols and some of them would have extra symbols not included here. This would discriminate against them and ruining Scratch's purpose of being for everyone
2) Apple computers display backspace, enter, and ctrl as delete, return, and command. Not to mention Windows has a delete button which Apple only has on larger keyboards as delete (with a forward delete icon). These keys will cause confusion.
3) At the moment, Flash can't tell the difference between shift, ctrl, alt, fn, etc. nor can it detect esc.

So only support for keys that are on all keyboards and aren't named differently between OS's in Scratch 3.0

Last edited by Sheep_maker (July 7, 2016 00:44:53)

theonlygusti
Scratcher
1000+ posts

More keys to be pressed

What about a new block input slot:

<key (space v) pressed :: sensing>

clicking inside the box focuses it and waits for the user to press a key. That key is then the one the block will detect.
ChatUser2
Scratcher
100+ posts

More keys to be pressed

xlk wrote:

Griffpatch made an ascii key detector, or something' like that, so any keyboard key can be detected…
But it's an obscure hack and you need to do all this work instead of just selecting the keyboard key
ChatUser2
Scratcher
100+ posts

More keys to be pressed

theonlygusti wrote:

What about a new block input slot:

<key (space v) pressed :: sensing>

clicking inside the box focuses it and waits for the user to press a key. That key is then the one the block will detect.
Or maybe a small keyboard from dropdown that allows to click a key, just like the “play note” block has a piano keyboard in dropdown.
ChatUser2
Scratcher
100+ posts

More keys to be pressed

Sheep_maker wrote:

1) Not all keyboards have the same symbols and some of them would have extra symbols not included here. This would discriminate against them and ruining Scratch's purpose of being for everyone
2) Apple computers display backspace, enter, and ctrl as delete, return, and command. Not to mention Windows has a delete button which Apple only has on larger keyboards as delete (with a forward delete icon). These keys will cause confusion.
3) At the moment, Flash can't tell the difference between shift, ctrl, alt, fn, etc. nor can it detect esc.

So only support for keys that are on all keyboards and aren't named differently between OS's in Scratch 3.0
All keyboards have the same 95 standard symbols we have but accessed differently. So in addition to normal `1234567890-=\[];',./ we would also need ~!@#$%^&*()_+|{}:“<>? which are shifted versions but may be located differently. Also maybe a text box if someone wants to make a German or French project. For the flash key confusion, Scratch will shift to HTML5, or it will be named ”shift/ctrl/alt/fn/…". For the Apple confusion, same.
Empty-Map
Scratcher
100+ posts

More keys to be pressed

That's possible through hack blocks but I fell like Scratch should make it official. Full Support.
theonlygusti
Scratcher
1000+ posts

More keys to be pressed

ChatUser2 wrote:

theonlygusti wrote:

<key (space v) pressed :: sensing>
Or maybe a small keyboard from dropdown that allows to click a key, just like the “play note” block has a piano keyboard in dropdown.
Not all keyboards are the same.
kenny2scratch
Scratcher
500+ posts

More keys to be pressed

I suggest that the menu for the key pressed block should accept inputs. That's all I ask.
braxbroscratcher
Scratcher
1000+ posts

More keys to be pressed

DaSpudLord wrote:

AlexINF wrote:

Just, you can hack the .JSON file on the project and change the code.

Also, There's a project here showing some hacked blocks.
In order for a workaround to be valid, it must be possible to create in vanilla Scratch- no JSON hacks or mods.
you can do it using any text editor, provided you can unzip .zips. Pretty sure it's acceptable since everyone has a text editor (All OSes come with one) and since there are many different programs for extracting zips.
Paddle2See
Scratch Team
1000+ posts

More keys to be pressed

It looks like this is a duplicate topic of this one over here so I'll close it to keep the conversation all in one place.

Please use the existing topic in the link above.

Powered by DjangoBB