Discuss Scratch

DCPU-16
Scratcher
100+ posts

How to hack your own magic custom blocks

SFollis wrote:

botcrusher wrote:

thanks! and you win!
yeah it is easy, all you do is input a join block for strings to be there.
Yep, you can literally put any reporter block in there and it will work as intended. A join block would even let you slip any block in with the editor, nice idea!

Last edited by DCPU-16 (April 10, 2013 19:50:40)

botcrusher
Scratcher
500+ posts

How to hack your own magic custom blocks

DCPU-16 wrote:

SFollis wrote:

botcrusher wrote:

thanks! and you win!
yeah it is easy, all you do is input a join block for strings to be there.
Yep, you can literally put any reporter block in there and it will work as intended. A join block would even let you slip any block in with the editor, nice idea!

:' D
you guys didn't show the
item (1) of (variable) block,
so after mucking around with the code from the block you did give me, and with the item of list block i managed to hack it!
my first scratch hack, i feel so proud
SFollis
Scratcher
500+ posts

How to hack your own magic custom blocks

botcrusher wrote:

DCPU-16 wrote:

SFollis wrote:

botcrusher wrote:

thanks! and you win!
yeah it is easy, all you do is input a join block for strings to be there.
Yep, you can literally put any reporter block in there and it will work as intended. A join block would even let you slip any block in with the editor, nice idea!

:' D
you guys didn't show the
item (1) of (variable) block,
so after mucking around with the code from the block you did give me, and with the item of list block i managed to hack it!
my first scratch hack, i feel so proud
congrats! fifty virtual waffles for you:
bullelk12
Scratcher
100+ posts

How to hack your own magic custom blocks

botcrusher wrote:

DCPU-16 wrote:

SFollis wrote:

botcrusher wrote:

thanks! and you win!
yeah it is easy, all you do is input a join block for strings to be there.
Yep, you can literally put any reporter block in there and it will work as intended. A join block would even let you slip any block in with the editor, nice idea!

:' D
you guys didn't show the
item (1) of (variable) block,
so after mucking around with the code from the block you did give me, and with the item of list block i managed to hack it!
my first scratch hack, i feel so proud

Nice, xD. You can do some REALLY weird things. One time, I stuck a command block into a boolean slot , no joking
YMIBANWAH
Scratcher
100+ posts

How to hack your own magic custom blocks

Here's a tip you can open json files directly in Eclipse and possibly other SDKs so that helps because it's hard to read in notepad.

Last edited by YMIBANWAH (April 12, 2013 21:54:53)

SFollis
Scratcher
500+ posts

How to hack your own magic custom blocks

YMIBANWAH wrote:

Here's a tip you can open json files directly in Eclipse and possibly other SDKs so that helps because it's hard to read in notepad.
i have eclipse, but notepad should still work. But yes, if it doesn't work for notepad, good idea

Last edited by SFollis (April 12, 2013 22:00:46)

YMIBANWAH
Scratcher
100+ posts

How to hack your own magic custom blocks

SFollis wrote:

YMIBANWAH wrote:

Here's a tip you can open json files directly in Eclipse and possibly other SDKs so that helps because it's hard to read in notepad.
i have eclipse, but notepad should still work. But yes, if it doesn't work for notepad, good idea
It opens in eclipse but it won't let me edit it, maybe it's because mine's configured to java.
botcrusher
Scratcher
500+ posts

How to hack your own magic custom blocks

wordpad (notepad's big brother)
gets formatting right and works fine for .json editing
bullelk12
Scratcher
100+ posts

How to hack your own magic custom blocks

I use dashcode (Mac), and it get's the formatting correct also. Color text referencing is also included
Hardmath123
Scratcher
1000+ posts

How to hack your own magic custom blocks

You can also use Xcode, TextEdit, or Terminal (vim/pico/nano) on Mac—dunno about Windows.
zorket
Scratcher
500+ posts

How to hack your own magic custom blocks

bullelk12 wrote:

botcrusher wrote:

DCPU-16 wrote:

SFollis wrote:

botcrusher wrote:

thanks! and you win!
yeah it is easy, all you do is input a join block for strings to be there.
Yep, you can literally put any reporter block in there and it will work as intended. A join block would even let you slip any block in with the editor, nice idea!

:' D
you guys didn't show the
item (1) of (variable) block,
so after mucking around with the code from the block you did give me, and with the item of list block i managed to hack it!
my first scratch hack, i feel so proud

Nice, xD. You can do some REALLY weird things. One time, I stuck a command block into a boolean slot , no joking
I stuck a hat block in a string input once!
skeletonxf
Scratcher
33 posts

How to hack your own magic custom blocks

letmethink wrote:

skeletonxf wrote:

Does anyone know where I can get a free text editor that supports the JSON text? My notepad can't read it XD
What version of notepad do you have?

MIne reads it fine. It just comes out as text which it is meant to.
What does your one do?

I have the default notepad from windows XP. By can't read I meant notepad flattened the code, so that it was all in 2 lines.
comp500
Scratcher
100+ posts

How to hack your own magic custom blocks

skeletonxf wrote:

letmethink wrote:

skeletonxf wrote:

Does anyone know where I can get a free text editor that supports the JSON text? My notepad can't read it XD
What version of notepad do you have?

MIne reads it fine. It just comes out as text which it is meant to.
What does your one do?

I have the default notepad from windows XP. By can't read I meant notepad flattened the code, so that it was all in 2 lines.
turn off word wrap in the format menu, or turn it on i cant remember

Last edited by comp500 (April 21, 2013 05:32:18)

cmot
Scratcher
89 posts

How to hack your own magic custom blocks

comp500 wrote:

skeletonxf wrote:

letmethink wrote:

skeletonxf wrote:

Does anyone know where I can get a free text editor that supports the JSON text? My notepad can't read it XD
What version of notepad do you have?

MIne reads it fine. It just comes out as text which it is meant to.
What does your one do?

I have the default notepad from windows XP. By can't read I meant notepad flattened the code, so that it was all in 2 lines.
turn off word wrap in the format menu, or turn it on i cant remember
i'm pretty sure it's on.
cmot
Scratcher
89 posts

How to hack your own magic custom blocks

thank you! here!
ke1235
Scratcher
100+ posts

How to hack your own magic custom blocks

cmot wrote:

comp500 wrote:

skeletonxf wrote:

letmethink wrote:

skeletonxf wrote:

Does anyone know where I can get a free text editor that supports the JSON text? My notepad can't read it XD
What version of notepad do you have?

MIne reads it fine. It just comes out as text which it is meant to.
What does your one do?

I have the default notepad from windows XP. By can't read I meant notepad flattened the code, so that it was all in 2 lines.
turn off word wrap in the format menu, or turn it on i cant remember
i'm pretty sure it's on.
Yes, you would need to turn it on.

Yay! That's helpful…
machinespray
Scratcher
25 posts

How to hack your own magic custom blocks

SFollis wrote:

How do you open .json file? it doesn't have the ‘right program’ to view it.
You can open it any text editor. I prefer wordpad.
machinespray
Scratcher
25 posts

How to hack your own magic custom blocks

Is it possible to make reporters and booleans?
SFollis
Scratcher
500+ posts

How to hack your own magic custom blocks

machinespray wrote:

SFollis wrote:

How do you open .json file? it doesn't have the ‘right program’ to view it.
You can open it any text editor. I prefer wordpad.
oh i already figured that out yeah, i use notepad. I needed to make default program that.

machinespray wrote:

Is it possible to make reporters and booleans?
I've been trying, but i'm not quite sure… Although there must a way.
brianush1
Scratcher
7 posts

How to hack your own magic custom blocks

nathanprocks wrote:

If you hack the set variable block, you can use it to create new variables. There is no use for it though because you can't hack the variable reporter to allow input.
I already made a project using that.

Powered by DjangoBB