Discuss Scratch

MDCCCLXVII
Scratcher
1000+ posts

(keys pressed?) block

bump

edit: king of the page

Last edited by MDCCCLXVII (April 26, 2021 13:50:03)

boncuk18
Scratcher
1000+ posts

(keys pressed?) block

MDCCCLXVII wrote:

bump
r u reopened this?
Zoomer_X
Scratcher
500+ posts

(keys pressed?) block

Xpexdex wrote:

(key pressed)
Is Not A block
I know, they're suggesting it to be a block. Also, to make your block a sensing block, type “ :: sensing” at the end of your block.
Zoomer_X
Scratcher
500+ posts

(keys pressed?) block

MrSherlockHolmes wrote:

MushroomMan99 wrote:

Support. This would make a safe-chat easier to make
set [chat message v] to (key pressed:: sensing) 
Thanks.
This would make a one-letter chatroom with this code. And if you meant “make a chatroom based on what you type”, then that is rejected, as if “meow” was a bad word, you could type “m” then “e” then “o” then “w”.
ContourLines
Scratcher
500+ posts

(keys pressed?) block

No support, as in many situations, the only block people really need is
<key [ v] pressed?>
since many games only require 4 or 5 keybinds. The block you are proposing can be recreated with a little bit of effort and is relatively effective.
SuperMarioHome
Scratcher
100+ posts

(keys pressed?) block

peterjhc wrote:

ALSO add Shift, Enter, Delete, Tab, Shift, and symbol support (period, comma, slash, etc.)
The symbols can be worked around with this:

key (join [<symbol>] []) pressed?

where <symbol> is any symbol. It also works with the Enter key.
Stoutscientist
Scratcher
38 posts

(keys pressed?) block

Support.
Paddle2See
Scratch Team
1000+ posts

(keys pressed?) block

MrSherlockHolmes wrote:

 (key/s pressed? :: sensing) 
Would be useful because the workaround is very complicated, and it help with text editors, chatbots and simulations.
<key [L v] pressed?>
could be exchanged with
<(key/s pressed? :: sensing)=[L]>
So what do you think?
MrSherlockHolmes
This feature is present in Scratch 3.0 - including the “any key pressed” boolean
MountY_Backup
Scratcher
100+ posts

(keys pressed?) block

Paddle2See wrote:

MrSherlockHolmes wrote:

 (key/s pressed? :: sensing) 
Would be useful because the workaround is very complicated, and it help with text editors, chatbots and simulations.
<key [L v] pressed?>
could be exchanged with
<(key/s pressed? :: sensing)=[L]>
So what do you think?
MrSherlockHolmes
This feature is present in Scratch 3.0 - including the “any key pressed” boolean
But, they didn't implement the main feature he/she want to add, which is:
(key pressed :: sensing)
jmb1293634
Scratcher
100+ posts

(keys pressed?) block

absolutely support I could just do something like this:
when green flag clicked
forever
if <key [a v] pressed?> then
set [key pressed v] to [a]
end
...
end
but that would take too long so I support

Powered by DjangoBB