Discuss Scratch
- Discussion Forums
- » Suggestions
- » Just add the rest of the keys already
- epiccool5
- Scratcher
49 posts
Just add the rest of the keys already
What about the key Join()() pressed
JSON trick?
JSON trick?
Last edited by epiccool5 (July 2, 2017 17:18:23)
- Green_yoshi
- Scratcher
56 posts
Just add the rest of the keys already
What do you mean? What about the key Join()() pressed
JSON trick?
Hi I'm Green_yoshi.
I'm interested in huge things like 3D video games!
It is difficult, but I am getting there.
Wish me luck!
Very large and complicated equations, though.
when I try something complex :: events hatSome tips on things:
say [PLEASE GIVE ME LUCK!]
debug tools:
define debugmaking sure scratch can save large lists:
set [num v] to [1]
delete (all v) of [out v]
repeat (length of [all the messages v] :: list)
reset timer
broadcast (item (num) of [all the messages v] :: list) and wait
add ((timer) - (item (num) of [Usual time it takes to do a task v] :: list)) to [out v]
change [num v] by (1)
end
when backdrop switches to [thumbnail v]USE TURBOWARP IF PROJECTS ARE TOO SLOW!
delete (all v) of [lengthy list v]
hide
when green flag clicked
add all info to lengthy list
define add all info to lengthy list
delete (all v) of [lengthy list v]
repeat (200000)
add [hi] to [lengthy list v]
end
PROGRESS THROUGH SUPER MARIO GALAXY 3:
hard.
getting there!
starting creation of storyline
Small bug that needs fixing
I know what to do
Every time I do something another bug pops up. oh well.
Getting ever so closer to finishing!
Progress done:
Bugs fixed:
MORE THAN YOU CAN EVER IMAGINE X 999!!!!
Current status:
Creating world save code (long story, but scratch can't save millions of images, music and blocks so I'll have a save code - for the images and blocks!)
- Charles12310
- Scratcher
1000+ posts
Just add the rest of the keys already
No Support. Some keys can't be used in operation in projects because one example is the “enter” key which starts the project.
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
- FancyFoxy
- Scratcher
500+ posts
Just add the rest of the keys already
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.What do you mean? What about the key Join()() pressed
JSON trick?
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
Just add the rest of the keys already
By modifying the project.json of a project, you can get a join _ _ block put in the key _ pressed dropdown:What do you mean? What about the key Join()() pressed
JSON trick?
<key (join[$][]) pressed?> // will detect if shift+4 is being pressed, at least on a US keyboardTyping a letter in one of the inputs selects which key it should detect
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- alemal123
- Scratcher
35 posts
Just add the rest of the keys already
when [Enter v] key pressedSorry, I Was Bored, but i press
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
<key [Tab v]>
Last edited by alemal123 (July 3, 2017 13:03:15)
- KrabbyPattyFormula
- New to Scratch
1 post
Just add the rest of the keys already
Support. Would be useful for certain features you want included in your project.
Memes.
- Botcho_Otkho
- Scratcher
1000+ posts
Just add the rest of the keys already
You can do this hacking blocks,but support.
It would be nice to use this:
It would be nice to use this:
<key [alt v] pressed?>and using Maiusc is useful in text engines.
I see now that the circumstances of one's birth are irrelevant. It is what you do with the gift of life that determines who you are. - Mewtwo
- pack34
- Scratcher
100+ posts
Just add the rest of the keys already
oh my gosh this would be so handy! full support
- thebludgeoner2
- Scratcher
38 posts
Just add the rest of the keys already
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
Just add the rest of the keys already
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.)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.4You're right Ithink, but how could Not enter, it is used for starting the project.griffpatch make a hack then?
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.
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 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.
My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom
- tcman2006
- Scratcher
36 posts
Just add the rest of the keys already
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. 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.
- NixV
- Scratcher
45 posts
Just add the rest of the keys already
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
1000+ posts
Just add the rest of the keys already
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
thank you
If you're seeing this signature, that means I've come out of my social anxiety hole.
Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
- Lu2333
- Scratcher
100+ posts
Just add the rest of the keys already
+1 Support!
Support!
Last edited by Kaj (Jan. 1 1111 1:11:11)
Support
support :: control
Support!
Why Do You Support This? Support!
- Charles12310
- Scratcher
1000+ posts
Just add the rest of the keys already
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this: 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.
<key (join [@][]) pressed?>
will not work unless the “@” button is functioned into that block. Simply changing the input won't make it work.
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
- pingas93
- Scratcher
26 posts
Just add the rest of the keys already
when [,] key pressed
or
<key [,] pressed?>
something like that plz
Last edited by pingas93 (Nov. 4, 2017 19:11:35)
- pingas93
- Scratcher
26 posts
Just add the rest of the keys already
How can using hacked blocks make this work? The options already there were functioned for these keys, doing this: 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.<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
Just add the rest of the keys already
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.How can using hacked blocks make this work? The options already there were functioned for these keys, doing this: 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.<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
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.
A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
- Xx_DeathPetal_xX
- Scratcher
100+ posts
Just add the rest of the keys already
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. 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
This could cause other problems though, and would be hard to code.
Verdict: SUPPORT!
something was here and now it's not