Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Suggestion: Make Extension Add Ability to Make "Hacked Blocks" #16

Open
AmazingMech2418 opened this issue Jun 25, 2020 · 25 comments
Open

Comments

@AmazingMech2418
Copy link

With Scratch 3.0, many projects broke and many abilities were taken away by the removal of "hacked blocks". Though, it still might be possible to edit the JSON to create a "hacked block", although the JSON is now less readable than it was before. Also, it might be possible to make blocks "droppable" by injecting code into scratch-vm (I see you were able to get into Blockly with this extension) which would in turn allow "hacked blocks" to be made. Additionally, given that the Scratcher did not click "see inside" since the transition to 3.0, the project will still contain an sb2 format, meaning that the "droppable" blocks would convert to Scratch 3.0 properly instead of breaking the project. I'm not sure if this can be done in an extension quite yet, but I think it would be a great feature to add! Also, if there is any way I can help with the development of this, I'd be happy to help!

@Explosion-Scratch
Copy link

Hmm, so, perhaps via the search menu that open when the user presses Control+Space? I think that maybe only a few should be included. I would probably say these:

-- All at once, an obsolete c shaped-control block that runs the code inside without screen refresh.
-- For [variable v] in range (100), another control-c-shaped block. This one repeats the code inside the number of times that you put into the second slot and increments the variable provided by 1 every repeat.
-- Stop sound (sound v), This one was made by qucchia and it stops the selected sound but not all sounds.

@AmazingMech2418
Copy link
Author

I was thinking more about making all blocks "droppable", but that would work too.

@Explosion-Scratch
Copy link

@AmazingMech2418 What do you mean by that?

@scratchusernamemrtbts
Copy link

@AmazingMech2418 What do you mean by that?

i guess he means making custom blcoks have dropdown input like eat (sprite 1 v)

@AmazingMech2418
Copy link
Author

@Explosion-Scratch I mean like when you used to be able to set the variable name to another variable's value or something.

@scratchusernamemrtbts
Copy link

scratchusernamemrtbts commented Jul 21, 2020

@Explosion-Scratch I mean like when you used to be able to set the variable name to another variable's value or something.

that can be made by right clicking on the variable and change it to the variable you want
like this video in a zip file

@AmazingMech2418
Copy link
Author

@scratchusernamemrtbts That's not what I mean. I mean like in the set [variable v] to [] block, setting the variable name to the value of a reporter block, such as another variable.

@scratchusernamemrtbts
Copy link

scratchusernamemrtbts commented Jul 26, 2020

@AmazingMech2418 do you mean that you can put reporter block into this block
block link
by changing the shape to this block
block link
like this
block link
credit to this website (made by github) for helping me make the blocks picture

@Explosion-Scratch
Copy link

But would this actually reset the timer or would it set a variable with the output of the timer to 0?

@AmazingMech2418
Copy link
Author

@Explosion-Scratch That would set a variable that is the same name as the timer value to 0.

@Explosion-Scratch
Copy link

@AmazingMech2418. Makes sense! :)

@scratchusernamemrtbts
Copy link

If he can do that can you make this kind of thing happen with the list category too?

@Joeclinton1
Copy link

Joeclinton1 commented Aug 7, 2020

If he can do that can you make this kind of thing happen with the list category too?

I fully support this. That way, you could reuse scripts on different lists.

@Joeclinton1
Copy link

Having looked through the code for the scratch-vm, i've realized that the extension cannot make anything which can't be done in regular scratch as while the extension could create hacked blocks, these blocks will have opcodes which aren't supported by scratch-vm, and so the project cannot be compiled.

@Akash-Karthik
Copy link

i think you can now close this issue and this is not an issue btw .

@scratchusernamemrtbts
Copy link

i think you can now close this issue and this is not an issue btw .

This is not an issue but feature request can be make in the issue tab

@Akash-Karthik
Copy link

i think you can now close this issue and this is not an issue btw .

This is not an issue but feature request can be make in the issue tab

No , its been 3 MONTHS since this is opened , and griffpatch hasen't responded yet , though he has responded to issues opened after this , so probably means to close .

@scratchusernamemrtbts
Copy link

scratchusernamemrtbts commented Sep 17, 2020 via email

@Akash-Karthik
Copy link

He doesn’t respond yet but he already see this He isn’t very active

เมื่อ 17 ก.ย. 2563 เวลา 19:37 เขียนโดย Akash Karthik @.***>: i think you can now close this issue and this is not an issue btw . This is not an issue but feature request can be make in the issue tab No , its been 3 MONTHS since this is opened , and griffpatch hasen't responded yet , though he has responded to issues opened after this , so probably means to close . — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZ7UQPFAXPEDLCVMTLVM6DSGH7IPANCNFSM4OIYZGJA.

i know he has seen it , but ignored , so close it , lol

@scratchusernamemrtbts
Copy link

scratchusernamemrtbts commented Sep 17, 2020 via email

@Akash-Karthik
Copy link

i know

@scratchusernamemrtbts
Copy link

Bump

@Akash-Karthik
Copy link

bump ?

@griffpatch
Copy link
Owner

griffpatch commented Mar 5, 2021 via email

@Akash-Karthik
Copy link

that would be fine , it would probably ruin the real scratch coding tho not worth trying rlly . But i did find a scratch tutorial to make hacked blocks there are actually many https://scratch.mit.edu/search/projects?q=hacked%20blocks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants