Discuss Scratch

alemal123
Scratcher
35 posts

All keys on keyboard

when [Enter v] key pressed
say [Same]
wait until <key [Shift v] pressed?>
say [Press Tab To Agree]


when [Tab v] key pressed
if <[☁ Cloud Users v] contains (username) ?> then

say [You've Already Voted]
else
change [☁ People Who Agree v] by (1)
add (username) to [☁ Cloud Users v]
end
Sorry, I Was Bored, but i press
  <key [Tab v]>  

Last edited by alemal123 (July 3, 2017 13:03:15)

KrabbyPattyFormula
New to Scratch
1 post

All keys on keyboard

Support. Would be useful for certain features you want included in your project.

Memes.
Botcho_Otkho
Scratcher
1000+ posts

All keys on keyboard

You can do this hacking blocks,but support.
It would be nice to use this:
<key [alt v] pressed?>
and using Maiusc is useful in text engines.

This is a signature, meaning this automatically appears under my posts. (This is for people who may be confused about this)
Freddie Mercury lover <3 <3 <3 - Wiki editor - Catholic - Forum Helper - Italian - 14 years old - Sagittarius - I use Windows 7 Ultimate and Google Chrome - Guitar, Stranger Things <3 <3 - I often forget things :P
pack34
Scratcher
100+ posts

All keys on keyboard

oh my gosh this would be so handy! full support

Play My best game!
Dot Phase

If you can animate click….
Right here!
thebludgeoner2
Scratcher
38 posts

All keys on keyboard

This is now more necessary than ever as @griffpatch 's ascii detector stopped working with the last update. 1,000,000% support
braxbroscratcher
Scratcher
1000+ posts

All keys on keyboard

Kyle2Death wrote:

VoltageGames wrote:

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 easy to learn! And people can get more useful tools thanks to griffpatch! Really, I'm surprised nobody thought of this during 1.4

It was meant to be a bad thing.
The thing is that if you get something from hacking, you have an adventage over most others, and hacking is different from Scratch so not many people know how to hack. People have to use what thay get, not from people that has more then others then taking from it. I do NOT support hacked games for Scratch and never will.
Problem is, hacking is REALLY easy. There are about fifteen tutorials for list inputs on custom blocks, and it can be done by anyone - it requires no special software - as all a .sb2 is is a .zip containing a .json and all images and sounds associated with the project inside. Unzip the zip and you can open the json in a text editor of your choice and thus get these ‘hacked’ blocks. Your philosophy of ‘Everyone should use what is handed to them and not try to use things other people have used or trying to make something new to use’ is not really practical. If everyone adopted that IRL, then technology wouldn't advance at all. The very thing you are against was applied in a real life situation to result in the devices you and I are using now. And they aren't breaking the boundaries of scratch - breaking the boundaries of scratch is making custom extensions or undefined blocks to do what currently isn't possible. Changing a key pressed boolean to Enter, Tab, or the like, is perfectly fair and legitimate (I even started a Ban Hacked Blocks thread at one point that Paddle replied to saying that if the block isn't hard to understand, it is perfectly ok for it to be hacked.)


My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom










Current Project:
n/a
Quotes: “In our last hour, we burn the most brightly, trying to deny that we are burning out.” -Me
“Well, no. 1024 Killerbytes make a Murderbyte.” -MegaByteCorporations
“I hate out of context quotes.” -Me
“I hate it when Cubeupload breaks.” -Also me
tcman2006
Scratcher
36 posts

All keys on keyboard

Kyle2Death wrote:

I like to see more keys for “When key pressed” because there is only up, down, left, right, space, A-Z and 0-9. I like to see more keys like tab and other ones like symbols, enter, and shift.

YES thank you for pointing that out. that would be so helpful and would prevent problems with no solutions or loopholes, such as having space be next level and also jump. ENTER could be next level (keep in mind that I know a LOT of other keys could be used, but just bear with me here). That is, if we add it. Which we should, just giving and example and praise.
NixV
Scratcher
45 posts

All keys on keyboard

Yea this is a great idea tbh. Griffpatch “hacked” the json of a project to make a support for all keys, but it would still be nice to have this without “hacking”

IMAGINE SCRATCH WITH A DARK THEME
Now, your eyes don't need to strain when you are on scratch at night
venyanwarrior
Scratcher
500+ posts

All keys on keyboard

Okay, let me just say one thing. THIS THREAD IS NOT RELEVANT ANYMORE. SCRATCH IS SWITCHING TO HTML CAN EVERY1 JUST ACCEPT THAT AND STOP NECROPOSTING ON VERY OLD TOPICS!!!
























thank you

Lu2333
Scratcher
100+ posts

All keys on keyboard

MeDiaMond wrote:

+1 Support!

spgame05 wrote:

Support!

Last edited by Kaj (Jan. 1 1111 1:11:11)

1234abcdcba4321 wrote:

Support

chooper100 wrote:

support :: control

derpmeup wrote:

Support!

Z-zap wrote:

Support!
Why Do You Support This?

i like memes
Charles12310
Scratcher
1000+ posts

All keys on keyboard

Botcho_Otkho wrote:

You can do this hacking blocks,but support.
It would be nice to use this:
<key [alt v] pressed?>
and using Maiusc is useful in text engines.
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this:

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

will not work unless the “@” button is functioned into that block. Simply changing the input won't make it work.


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!
pingas93
Scratcher
26 posts

All keys on keyboard

when [,] key pressed

or

<key [,] pressed?>

something like that plz

Last edited by pingas93 (Nov. 4, 2017 19:11:35)

pingas93
Scratcher
26 posts

All keys on keyboard

Charles12310 wrote:

Botcho_Otkho wrote:

You can do this hacking blocks,but support.
It would be nice to use this:
<key [alt v] pressed?>
and using Maiusc is useful in text engines.
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this:

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

will not work unless the “@” button is functioned into that block. Simply changing the input won't make it work.

i tried
<key (join [,] []) pressed?>
and it doesn't work
Charles12310
Scratcher
1000+ posts

All keys on keyboard

pingas93 wrote:

Charles12310 wrote:

Botcho_Otkho wrote:

You can do this hacking blocks,but support.
It would be nice to use this:
<key [alt v] pressed?>
and using Maiusc is useful in text engines.
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this:

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

will not work unless the “@” button is functioned into that block. Simply changing the input won't make it work.

i tried
<key (join [,] []) pressed?>
and it doesn't work
Exactly, you don't expect the code to figure it out for you unless it has been functioned. Scratch Team wouldn't make a script that detects pressing of keys not included because it can't be detected using a Scratch block. Therefore, the only keys that are functioned for key pressing detection are the ones in the dropdown.

Also, it requires editing the JSON code, which not everyone knows how to do, and even at a few glances it's difficult to tell what to do, and most of us aren't even middle schoolers.


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!
Xx_DeathPetal_xX
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.

EDIT: except the Windows key, menu key, volume/media keys, or anything else that is not used by other applications
Looks like you have two ideas . Good edit note, you couldn't escape unless a full shutdown without it. Flash is just a website video/media/presentation player that works with Scratch. You may want to say that other programs can use CTRL, Shift, and ALT since ALT really doesn't have a purpose for escape or anything. Agreed that you should be able to click a key and have it automatically set. I'd rather not waste 10 seconds of my life finding a key xD.

This could cause other problems though, and would be hard to code.

Verdict: SUPPORT!

something was here and now it's not
fan_of_pixels
Scratcher
45 posts

All keys on keyboard

pingas93 wrote:

Charles12310 wrote:

Botcho_Otkho wrote:

You can do this hacking blocks,but support.
It would be nice to use this:
<key [alt v] pressed?>
and using Maiusc is useful in text engines.
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this:

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

will not work unless the “@” button is functioned into that block. Simply changing the input won't make it work.

i tried
<key (join [,] []) pressed?>
and it doesn't work

you need some speical characters to do that. i dont know the codes though


GOD BLESS HAVE MERCY ON MY COMPUTERS RAM


This is the MIDI file in case your interested:
https://www.youtube.com/watch?v=GNBbyckKgOM
LeoBernard
Scratcher
79 posts

All keys on keyboard

Support

Loves drawing and Scratch. Lives in France. Makes English mistakes ¯\_(ツ)_/¯
Charles12310
Scratcher
1000+ posts

All keys on keyboard

venyanwarrior wrote:

Okay, let me just say one thing. THIS THREAD IS NOT RELEVANT ANYMORE. SCRATCH IS SWITCHING TO HTML CAN EVERY1 JUST ACCEPT THAT AND STOP NECROPOSTING ON VERY OLD TOPICS!!!
























thank you
Does HTML have anything to do with key detecting?


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!
Dilek10
Scratcher
100+ posts

All keys on keyboard

Support!

ALL HAIL DA SEMICOLON!!!
Hello, I'm Dilek10!
My Art Shop! It's hiring and a new order form available!: https://scratch.mit.edu/discuss/topic/284525/
Interested in Physics or Physics books? Here's a forum for you!: https://scratch.mit.edu/discuss/topic/350422/
The Turkish Scratch Wiki! Contributors wanted!: http://test.scratch-wiki.info/wiki/Tur:Anasayfa

Powered by DjangoBB

Standard | Mobile