Discuss Scratch

InfoTutor
Scratcher
11 posts

New 'Key Pressed' Choices

Hi, I was wondering if there could be a ‘shift’ or an ‘enter’ choice in the ‘key pressed’ block. It'd be useful for verification in porjects if the space key is in use.

<key [enter] pressed?>

<key [shift] pressed?>

Last edited by InfoTutor (Jan. 20, 2022 18:30:26)


say [Written by @InfoTutor :D]
7salad3salad
Scratcher
1000+ posts

New 'Key Pressed' Choices

InfoTutor wrote:

Hi, I was wondering if there could be a ‘shift’ or an ‘enter’ choice in the ‘key pressed’ block. It'd be useful for verification in porjects if the space key is in use.

<key [enter] pressed?>

<key [shift] pressed?>
There are hacked blocks which you can backpack from hacked block projects, but there is no way to obtain these in vanilla as far as i know so this would be cool for more key choices, its weird how they arent already choosable keys.


Forumer Post Count Bar Graph! (inspired by AIGamesDeveloper)
Project: Forummon by randomguy3513
hi, contrast
JUST BECAUSE THERES A WORKAROUND ISNT A GOOD REASON TO NOT SUPPORT!!!

dont call me 7salad
dont call me 7salsa lol
just simply “Salad” will do.

:]::#00289A// This is my pet Noobles! He protects my signature from [i]unwanted guests[/i]

B){

}::#800080//This is Noobles' big brother, Probles. He has returned and Noobles is happy to see him!
//oh, yeah, he is also cool so he wears sunglasses.

:P::cap sensing//This is their little brother, Doobles

old banner thnng
dave-alt-4
Scratcher
1000+ posts

New 'Key Pressed' Choices

support but pretty sure its a dupe but i cant find….
also , you can use :
<key (join[en][ter]) pressed?>

Last edited by dave-alt-4 (Jan. 21, 2022 02:08:22)


guide to make good projects <3


Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter


k0d3rrr
Scratcher
1000+ posts

New 'Key Pressed' Choices

This would be a great idea, because it would add more to the functionality of your projects (E.g. ‘Shift’ to Run). Also, I don't care that there's a “workaround” for the enter key, I think
key [enter v] pressed
and
key [shift v] pressed
would be better.

Examples:

when green flag clicked
set rotation style [left-right v]
forever
if <key [left arrow v] pressed?> then
point in direction (-90)
move (speed) steps
else
if <key [right arrow v] pressed?> then
point in direction (90)
move (speed) steps
end
if <key [shift v] pressed?> then
set [speed v] to (15)
else
if <not <key [shift v] pressed?>> then
set [speed v] to (5)
end

when I receive [Message v]
say [Okay!]
wait until <key [enter v] pressed?>
say []

Last edited by k0d3rrr (Jan. 21, 2022 03:25:39)


k0d3rrr




3 forum tips for experienced forumers (in no particular order):
  1. If you are reporting a new forumer's topic to be closed, or moved to another forum, don't mention it, because then, the topic creator will think they will receive either an alert or a ban.

  2. New forumers won't immediately know the rules or terminology of the forums. I have seen this happen hundreds of times (exaggeratedly), especially when experienced forumers (I won't name any) tell new forumers that they are "necroposting", which is when someone posts on an old and resolved topic (especially in the Questions about Scratch forum), causing said topic to be moved to the front page of that forum.

  3. Using Scratchblocks as a writing style is not blockspam, unless it is irrelevant to the discussion. For example, this

    ExampleScratcher1 wrote:

    How do I make a smooth gliding animation?
    when green flag clicked
    repeat until <(my question) = [answered]>
    ask [How do I make a smooth gliding animation?] and wait
    end
    say [Thank you!]
    is not blockspam, but these

    ExampleScratcher2 (first post) wrote:

    when green flag clicked
    move (58) steps
    play sound [Stock Laughter Sound Effect HD - 1 Hour v]
    forever
    play sound [Stock Screaming Sound Effect HD - 1 Hour v]
    switch backdrop to [internet v]
    say [i broke the internet] for (2) secs
    turn cw (15) degrees
    go to [nearby restaurant v]
    next costume
    end

    ExampleScratcher2 (second post) wrote:

    when green flag clicked
    repeat until <(out of dorito's) = [true]>
    broadcast [eat dorito chip v]
    end
    say [IM OUT OF DORITO'S!!!!!!!!! :(]
    play sound [Scream2 v] until done
    forever
    turn cw (120) degrees
    play sound [Scream2 v]
    play sound [we have no dorito's sorry v]
    end
    are blockspam, and must be reported.
dave-alt-4
Scratcher
1000+ posts

New 'Key Pressed' Choices

dupe? finnaly found it lol

guide to make good projects <3


Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter


VedanshS933
Scratcher
1000+ posts

New 'Key Pressed' Choices

dave-alt-4 wrote:

dupe? finnaly found it lol

Not A Duplicate

——————
Support, this might be helpful especially in messages (I don't mean Cloud Chat), In a robot chat!



Home OS 3.0 Coming Soon!
https://scratch.mit.edu/projects/880616996/

Post Count - 2000+!
1. Suggestions 1100+ (first time hitting 1000 on a subforum!)
2. Questions about Scratch 250+
3. Advanced Topics 230+
4. New Scratchers 100+
5. Show & Tell 80+
6. Bugs and Glitches 70+

redesigning the signature
dave-alt-4
Scratcher
1000+ posts

New 'Key Pressed' Choices

VedanshS933 wrote:

dave-alt-4 wrote:

dupe? finnaly found it lol

Not A Duplicate

it is though..?

guide to make good projects <3


Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter


TONYflashB
Scratcher
100+ posts

New 'Key Pressed' Choices

<key [ enter] pressed?>
can be used to detect the enter key.
<key [  shift] pressed?>
can be used if we load the project in turbowarp!

Last edited by TONYflashB (Jan. 21, 2022 06:26:49)


Hey there I am TONYflash! General forum helper, coder, artist.
Ask me for help on my profile or projects.
Currently giving suggestions and ideas to help others. Helping keep forums alive

Try Virtual-Box, it is a 2D Platformer Creator

banner by the wow shop!

VedanshS933
Scratcher
1000+ posts

New 'Key Pressed' Choices

Minimum enter is required

Scratch On!



Home OS 3.0 Coming Soon!
https://scratch.mit.edu/projects/880616996/

Post Count - 2000+!
1. Suggestions 1100+ (first time hitting 1000 on a subforum!)
2. Questions about Scratch 250+
3. Advanced Topics 230+
4. New Scratchers 100+
5. Show & Tell 80+
6. Bugs and Glitches 70+

redesigning the signature
quanthecode
Scratcher
5 posts

New 'Key Pressed' Choices

hello
VedanshS933
Scratcher
1000+ posts

New 'Key Pressed' Choices

quanthecode wrote:

hello

Pls don't go offtopic



Home OS 3.0 Coming Soon!
https://scratch.mit.edu/projects/880616996/

Post Count - 2000+!
1. Suggestions 1100+ (first time hitting 1000 on a subforum!)
2. Questions about Scratch 250+
3. Advanced Topics 230+
4. New Scratchers 100+
5. Show & Tell 80+
6. Bugs and Glitches 70+

redesigning the signature
DinoMaster20
Scratcher
1000+ posts

New 'Key Pressed' Choices

dave-alt-4 wrote:

dupe? finnaly found it lol
It's closed. Meaning it's not a dupe.
-
Support, helpful to have multiple for choices, and choices that make for since to people watching/playing the project.

Last edited by DinoMaster20 (Jan. 27, 2022 12:26:23)


Last edited by kaj (Tomorrow, 00:00:00)
~ ᴅᴍ20 ~
This is my forum signature! It shows up under every post I make! Here is more info!
ERRØR; THE NEXT BIG THING “Resolved” Button for QaS
/\ Male /\ Forumer /\ TokTik /\ Chatsnap /\
/\ Scratch Wiki /\ Community Guidelines /\ Scratch Team /\ Postpercent /\ Ocular
Currently most active on the forums! I don't make projects, I might come out with one in 100 years.

thanks to rl1123 for gif, and hosting it bc my braindead self couldn't do it
I have eaten the rest of DinoMaster20's siggy! Yum! Find out how to stop evil kumquats like myself here: Evil Kumquat Guards
dave-alt-4
Scratcher
1000+ posts

New 'Key Pressed' Choices

DinoMaster20 wrote:

dave-alt-4 wrote:

dupe? finnaly found it lol
It's closed. Meaning it's not a dupe.
-
Support, helpful to have multiple for choices, and choices that make for since to people watching/playing the project.
it wasn't closed when i sent it =P

anyways , lists of dupes/simmiliar topics i found
1 2 3 4 5 6 and many more , im just too lazy to find.

Last edited by dave-alt-4 (Jan. 28, 2022 02:52:09)


guide to make good projects <3


Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter


Powered by DjangoBB