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

#451 2010-05-28 15:15:50

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

Re: Cool custom blocks in Scratch

How do you get rid of the checkbox next to custom reporter and boolean blocks?


/* No comment */

Offline

 

#452 2010-05-28 15:22:31

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

How do you get rid of the checkbox next to custom reporter and boolean blocks?

Edit Scratch-Blocks->CommandBlockMorph->private->canBecomeWatcher and add the message the block uses into the brackets where lots of others are listed.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#453 2010-05-28 15:47:16

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

Re: Cool custom blocks in Scratch

nXIII wrote:

OK, fine, here is the entire tutorial:
[replace (something) with your category name throughout this entire tutorial]
1. Add (something).gif, (something)Over.gif, and (something)Pressed.gif to the ScratchSkin folder IN THE ROOT DIRECTORY (wherever the VM is).
2. In the VM, open a new workspace (World menu -> open... -> workspace) and type

ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')

(if this doesn't work your ScratchSkin directory isn't in the right place or isn't named ScratchSkin)
3. Go to ScratchViewerMorph's rebuildCategorySelectors method and add (something) to the end of the small array definition (which looks like this:)

catList _ #(
        motion        control
        looks                sensing
        sound        operators
        pen            variables
        (something)).

Note: In order for the extent (size) of the category buttons to be correctly calculated, I have slightly modified the line that assigns to catButtonsExtent (the ugly arithmetic-looking one):

catButtonsExtent _ ((2 * maxExtent x) + (3 * pad)) @ ((((catList size / 2) rounded) * (maxExtent y + 6)) + 25).

This didn't crash my scratch, but it didn't work either. Can you help?


/* No comment */

Offline

 

#454 2010-05-28 15:53:09

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

Re: Cool custom blocks in Scratch

Sperry wrote:

TheSuccessor wrote:

How do you get rid of the checkbox next to custom reporter and boolean blocks?

Edit Scratch-Blocks->CommandBlockMorph->private->canBecomeWatcher and add the message the block uses into the brackets where lots of others are listed.

Thanks Sperry.  smile


/* No comment */

Offline

 

#455 2010-05-28 16:00:18

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Cool custom blocks in Scratch

LS97 wrote:

TheGameMaster1231 wrote:

TheGameMaster1231 wrote:

I Need Some Help, I Can't Figure Out How To Make The

<color [ color ] is touching [ sprites, edge, etc. ] ?>

It Reports If The Selected Color Is Touching A Sprite, The Edge, Or The Mouse Pointer.
If Anyone Knows How To Make It, Please Tell Me!  smile

Hello? Anybody?

well, why would you even need that?
you can just add a forever loop to the concerned sprite like this:
[blocks]
<forever if><touching color[ x]>
<set{ colortouch }to( yes)>
<else>
<set{ colourtouch }to( no)>
<end>
[/blocks]
then make the other sprite say 'if colourtouch = yes' do this else do that

1. It Would Make It Much More Simple To Do.
2. The Blocks Make It EASIER For You To Do Things. For Example, The [move (10) steps] Block. We Could Live Without It By Using The [change x by ()] And [change y by ()]. But It Would Be Much HARDER, Right?
3. Umm... 1 And 2 Together?

Offline

 

#456 2010-05-28 16:16:01

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

Re: Cool custom blocks in Scratch

aw, I'm using the normal Scratch version. "otherwise, life sucks for you   tongue " Yup, oh well. For the credit, http://scratch.mit.edu/forums/viewtopic.php?pid=404510 huh. that's weird, I'm sure I put you there. Must be because I had to rewrite it twice because of internet crashes. I'll put you in it right now. Sorry 'bout that.

Offline

 

#457 2010-05-28 16:22:59

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

Re: Cool custom blocks in Scratch

LS97 wrote:

zorbak's sig wrote, well shouldn't really use the word wrote:

Think Scratch is 'missing' stuff? Try Zatch! zatchprogramminglanguage.webs.com

zatch is great, but i recognize a lot of blocks that i made and posted on this forum. if i am right, i would like credit for it.

well, it's OK.... People will recognize your work and credit you, and maybe even learn something in the process!


nXIII

Offline

 

#458 2010-05-28 22:26:07

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

how do i get to the scratch skin?

Last edited by Joeman592 (2010-05-28 22:44:19)


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#459 2010-05-29 04:32:19

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

Re: Cool custom blocks in Scratch

nXIII wrote:

LS97 wrote:

zorbak's sig wrote, well shouldn't really use the word wrote:

Think Scratch is 'missing' stuff? Try Zatch! zatchprogramminglanguage.webs.com

zatch is great, but i recognize a lot of blocks that i made and posted on this forum. if i am right, i would like credit for it.

well, it's OK.... People will recognize your work and credit you, and maybe even learn something in the process!

you're the one to talk  mad
lol jk  tongue

Offline

 

#460 2010-05-29 04:33:49

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

Re: Cool custom blocks in Scratch

Joeman592 wrote:

how do i get to the scratch skin?

it's available from the scratch website. http://download.scratch.mit.edu/source-code/ScratchSkin1.4.zip

Offline

 

#461 2010-05-29 07:12:02

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

Re: Cool custom blocks in Scratch

Does anybody know how to do permanent marker pen blocks?
(permanent marker is unaffected by
[blocks]<clear>[/blocks]
)

Last edited by TheSuccessor (2010-05-29 07:12:48)


/* No comment */

Offline

 

#462 2010-05-29 07:14:06

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: Cool custom blocks in Scratch

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks? (permanent marker is unaffected by [blocks]<clear>[/blocks])

Nope, there isn't a block. Also, this is the wrong forum for that question, create your own topic in the All About Scratch forum next time you have a question like this.


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#463 2010-05-29 08:54:33

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

Re: Cool custom blocks in Scratch

Dazachi wrote:

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks? (permanent marker is unaffected by [blocks]<clear>[/blocks])

Nope, there isn't a block. Also, this is the wrong forum for that question, create your own topic in the All About Scratch forum next time you have a question like this.

sorry to bug you dazachi, but this is the best thread (s)he can post it on. TheSuccessor is asking if someone could make a brand new block for what he is looking for. it's perfectly fine for me if he posts it here, where many experienced squeakers can reply.

@TheSuccessor:
i'm not sure, there is but it could be a bit hard to make as you would have to give each pen mark a certain 'tag' and have two clear blocks: the default one and a permanent marker clear one. try asking nXIII or MathWizz  smile

Offline

 

#464 2010-05-29 10:02:57

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

Re: Cool custom blocks in Scratch

LS97 wrote:

Dazachi wrote:

TheSuccessor wrote:

Does anybody know how to do permanent marker pen blocks?
(permanent marker is unaffected by
[blocks]<clear>[/blocks]
)

Nope, there isn't a block. Also, this is the wrong forum for that question, create your own topic in the All About Scratch forum next time you have a question like this.

sorry to bug you dazachi, but this is the best thread (s)he can post it on. TheSuccessor is asking if someone could make a brand new block for what he is looking for. it's perfectly fine for me if he posts it here, where many experienced squeakers can reply.

@TheSuccessor:
i'm not sure, there is but it could be a bit hard to make as you would have to give each pen mark a certain 'tag' and have two clear blocks: the default one and a permanent marker clear one. try asking nXIII or MathWizz  smile

I'll ask one of them. Thanks for the advice.  smile


/* No comment */

Offline

 

#465 2010-05-29 11:30:21

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

how do I edit the button pictures? every color turns black when i try to pant over it.(is it because it is a gif image?) how can i edit them? please tell me!


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#466 2010-05-29 11:31:33

ZapperX
Scratcher
Registered: 2008-12-16
Posts: 22

Re: Cool custom blocks in Scratch

Sorry if this is totally random, because I didn't read the whole thread, but whenever I try to leave an area where I make changes it asks something like "your changes have not beed saved. is this okay?" And it seems there's no way to save it. So how do you do this!?!?

Offline

 

#467 2010-05-29 11:33:40

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

Re: Cool custom blocks in Scratch

Does anybody want to help me out in making my own version of scratch? At the moment it's a bit of a one man and his laptop thing, so I would appreciate some people joining. It's called xCubed and I would like to be able to release 1.0 by the end of June.


/* No comment */

Offline

 

#468 2010-05-29 11:35:18

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

Re: Cool custom blocks in Scratch

ZapperX wrote:

Sorry if this is totally random, because I didn't read the whole thread, but whenever I try to leave an area where I make changes it asks something like "your changes have not beed saved. is this okay?" And it seems there's no way to save it. So how do you do this!?!?

You right click and click 'accept'.


/* No comment */

Offline

 

#469 2010-05-29 11:37:26

ZapperX
Scratcher
Registered: 2008-12-16
Posts: 22

Re: Cool custom blocks in Scratch

Where's "accept"?

Offline

 

#470 2010-05-29 11:37:41

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

Joeman592 wrote:

how do I edit the button pictures? every color turns black when i try to pant over it.(is it because it is a gif image?) how can i edit them? please tell me!

please tell me!


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#471 2010-05-29 12:33:15

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

ZapperX wrote:

Where's "accept"?

or press alt-s


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#472 2010-05-29 12:55:58

ZapperX
Scratcher
Registered: 2008-12-16
Posts: 22

Re: Cool custom blocks in Scratch

But isn't that save?


EDIT: Oh... Fancy. Thanks!!!!!

Last edited by ZapperX (2010-05-29 12:56:48)

Offline

 

#473 2010-05-29 13:29:53

ZapperX
Scratcher
Registered: 2008-12-16
Posts: 22

Re: Cool custom blocks in Scratch

Now it won't save because of the date block!

Offline

 

#474 2010-05-29 15:07:42

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

ZapperX wrote:

Now it won't save because of the date block!

make sure you have the spec right. If you don't, it wont work and it will return as an error when accepted


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

#475 2010-05-29 15:10:18

Joeman592
Scratcher
Registered: 2010-01-23
Posts: 100+

Re: Cool custom blocks in Scratch

ok. i downloaded the skin, and i know what to do. but how do i edit the -, -Over, and -Pressed pics so i can m ake a new catatgory? it wont work!


http://i.imgur.com/HcAj1.png
http://i.imgur.com/gss7S.gifhttp://i.imgur.com/kbcKt.gifhttp://i.imgur.com/0LteM.gif

Offline

 

Board footer