This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#526 2010-06-01 16:00:58

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Cool custom blocks in Scratch

LS97 wrote:

Zorbak42 wrote:

LS97 wrote:

can i have some help for how to add an inserter in the block spec like %s or %k buta new one please?

I don't know if you still need this, but for a dropdown box, go to blah di blah,
<explanation>

whoa!! thanks a lot.
i didn't need half of that, but it was a good reminder. for stuff other than that kind of dropdown box i think you would have to edit the stuffNames, not the uncoloredBlahMorph.

thanks again!  smile   smile

No problem!  smile

Offline

 

#527 2010-06-02 06:20:59

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

How would you get something where users can add options to the drop-down menu, like in
[blocks]
<broadcast[ whatever ]>
[/blocks]


/* No comment */

Offline

 

#528 2010-06-02 11:20:27

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

How would you get something where users can add options to the drop-down menu, like in
[blocks]
<broadcast[ whatever ]>
[/blocks]

you make a special bit of code for it. first use zorbak's tutorial to add a letter with menu, then edit the somethingNames (replace something as in his tutorial) and make it so that it can vary (instead of reporting a fixed value report whatever you want to report. i would need to know more to give you a more detailed explaination)

Offline

 

#529 2010-06-02 13:33:52

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

hey everyone (who made a mod),
how do you change the text displayed in the window bar? i looked everywhere but couldn't find it  sad

thanks

Offline

 

#530 2010-06-02 13:39:52

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Cool custom blocks in Scratch

The tutorial (by nXIII):

Anyway, it turns out that all you have to do is go to
Scratch-UI-Panes -> ScratchFrameMorph -> --all-- -> updateProjectName
and change the two strings.
The one that says '- Scratch' is the one that is stuck on the end of a project name when the project has a name. The one that says 'Scratch ', Version is the one that is displayed when the project doesn't have a name.


You can now reach me on Twitter @johnnydean1_

Offline

 

#531 2010-06-02 16:02:42

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

LS97 wrote:

TheSuccessor wrote:

How would you get something where users can add options to the drop-down menu, like in
[blocks]
<broadcast[ whatever ]>
[/blocks]

you make a special bit of code for it. first use zorbak's tutorial to add a letter with menu, then edit the somethingNames (replace something as in his tutorial) and make it so that it can vary (instead of reporting a fixed value report whatever you want to report. i would need to know more to give you a more detailed explaination)

I think I'll sort of copy how variables works...


/* No comment */

Offline

 

#532 2010-06-02 16:52:59

Jahava
Scratcher
Registered: 2009-09-22
Posts: 9

Re: Cool custom blocks in Scratch

Can these custom blocks be uploaded in projects?
Also, can you show me how to create the (sprite name) block?

Offline

 

#533 2010-06-03 04:57:19

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

Jahava wrote:

Can these custom blocks be uploaded in projects?
Also, can you show me how to create the (sprite name) block?

(sprite name) block:
Add this to Scratch-Objects > ScratchSpriteMorph (click 'class' at this point) > BlockSpecs > BlockSpecs:

Code:

 ('sprite name' #r #spriteName)

Click 'instance' then sensing ops > hideQuestion.
Replace hideQuestion with spriteName and self with objName.
Right-click and click 'accept'.


/* No comment */

Offline

 

#534 2010-06-03 06:21:41

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

What is XO for?


/* No comment */

Offline

 

#535 2010-06-03 07:47:49

Zorbak42
Scratcher
Registered: 2009-01-27
Posts: 100+

Re: Cool custom blocks in Scratch

Custom blocks, other than some that used to be obsolete, do not work on the site or when downloaded by someone that doesn't have the exact block. XO, I think, is pretty much the same as something that doesn't say XO beside it, but it's specifically for a certain kind of laptop. I think.

Offline

 

#536 2010-06-03 11:38:48

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

@zorbak:
yeah, XO seems to have different graphics. they look bigger.

Offline

 

#537 2010-06-03 11:39:52

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Jahava wrote:

Can these custom blocks be uploaded in projects?
Also, can you show me how to create the (sprite name) block?

(sprite name) block:
Add this to Scratch-Objects > ScratchSpriteMorph (click 'class' at this point) > BlockSpecs > BlockSpecs:

Code:

 ('sprite name' #r #spriteName)

Click 'instance' then sensing ops > hideQuestion.
Replace hideQuestion with spriteName and self with objName.
Right-click and click 'accept'.

that's way too long when you can simply make a blockSpec with
('sprite name' #r #objName)

Offline

 

#538 2010-06-03 12:05:23

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

Ok everyone,
Bingo is almost finished. Would anyone like a special block to be included?
edit: bingo's out

Last edited by LS97 (2010-06-04 16:37:33)

Offline

 

#539 2010-06-04 14:35:03

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Cool custom blocks in Scratch

LS97 wrote:

anyone?

I still like the comment block.

But I think that others would rather that you just release it.

Also, I've had some trouble, and I can't figure out how to make permanent changes to the paint editor.  hmm


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#540 2010-06-04 15:41:00

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Cool custom blocks in Scratch

< <> xor <> >.
It's a bit annoying having to do < < <> and < not <> > > or < < not <> > and <> > >


/* No comment */

Offline

 

#541 2010-06-04 16:10:37

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

< <> xor <> >.
It's a bit annoying having to do < < <> and < not <> > > or < < not <> > and <> > >

i think what henley said is probably right. I can release that block in 1.0.1.

Offline

 

#542 2010-06-04 16:37:12

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cool custom blocks in Scratch

BINGO HAS BEEN RELEASED NOW!
21:35 GMT
4 June 2010
version 1.0.0

downloadable here

i've left the source code in, access it easily by clicking on the dev menu and selecting 'open browser'

Last edited by LS97 (2010-06-04 16:39:39)

Offline

 

#543 2010-06-04 22:35:45

KFRkidz
Scratcher
Registered: 2010-04-23
Posts: 6

Re: Cool custom blocks in Scratch

hey LS97 i realy need a "when i recive _" dimond block? i tried but failed thanks bye!

Offline

 

#544 2010-06-05 03:39:09

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Cool custom blocks in Scratch

nXIII wrote:

waveOSBeta wrote:

nXIII wrote:


Well I could just delete the 'fillScreenOff' method in the public release version!  tongue

preferences
enableProgrammerFacilities

lol

Er... yes, but you can't open the world menu if fillScreen is off and I *accidentally* misplaced the collapse method... (just kidding, Panther has a separate source image with a dev menu, which is distributed with the other image and no one seems to notice)

anyway scratch and its mods have to be OPEN-SOURCE!


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#545 2010-06-05 03:52:09

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Cool custom blocks in Scratch

LS97 wrote:

Ok everyone,
Bingo is almost finished. Would anyone like a special block to be included?
edit: bingo's out

well done!


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#546 2010-06-05 09:34:33

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Cool custom blocks in Scratch

Bingo is my favourite mod because panther has to many cool but useless features. Bingo has just what I want!


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#547 2010-06-05 10:15:24

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Cool custom blocks in Scratch

midnightleopard wrote:

Bingo is my favourite mod because panther has to many cool but useless features. Bingo has just what I want!

Please name a useless feature.


nXIII

Offline

 

#548 2010-06-05 11:12:28

HockeyPlayerJon
Scratcher
Registered: 2010-04-03
Posts: 6

Re: Cool custom blocks in Scratch

How Do Open The Browser In BYOB?
I Need To Edit Some Blocks In It.


cool  http://scratch.mit.edu/projects/HockeyPlayerJon/1055356
smile  <go to[ My Penguin Chat 3 Game! (LINK ABOVE)  smile  cool  !We NEED Scratch 4 DS!  cool

Offline

 

#549 2010-06-05 11:19:45

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Cool custom blocks in Scratch

HockeyPlayerJon wrote:

How Do Open The Browser In BYOB?
I Need To Edit Some Blocks In It.

You don't hack byob! Wait untill august when the source comes out.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#550 2010-06-05 11:24:50

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Cool custom blocks in Scratch

markyparky56 wrote:

HockeyPlayerJon wrote:

How Do Open The Browser In BYOB?
I Need To Edit Some Blocks In It.

You don't hack byob! Wait untill august when the source comes out.

Go to the Elements and build "[[Preferences] enable programmer facilities]" and then right-click it and click "evaluate" or something.


nXIII

Offline

 

Board footer