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

#1 2010-08-18 16:22:28

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

something that is bothering me in my head

ok here it goes...HOW DO U MAKE A CATAGORY IN SCRATCH?!?


<when green flag clicked>
<set[ confusion ]effect to( 999


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#2 2010-08-18 17:55:19

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: something that is bothering me in my head

stickdude123 wrote:

ok here it goes...HOW DO U MAKE A CATAGORY IN SCRATCH?!?


<when green flag clicked>
<set[ confusion ]effect to( 999

I'll help, but I only know the code for the Scratch source...  hmm

Ok. First, you have to add the category color. On your computer, go into the ScratchSkin folder and copy any of the files like "control.gif", "controlOver.gif", and "controlPressed.gif" or "pen.gif", "penOver.gif", and "penPressed.gif" and call them whatever your category will be called. For example, "other.gif", "otherOver.gif", and "otherPressed.gif". Edit them to what color you want the category to be.

Now, enter the system browser (In Scratch) and go to:

Code:

Scratch-UI-Panes >> ScratchViewerMorph >> initialization >> rebuildCategorySelectors

Look at the first part;

Code:

    | catList maxExtent buttons label offForm onForm overForm b pad leftColumnX rightColumnX x y |
    catList _ #(
        motion        control
        looks                sensing
        sound        operators
        pen            variables).

Then add whatever categories you called the files (It has to be an even amount), for example:

Code:

    | catList maxExtent buttons label offForm onForm overForm b pad leftColumnX rightColumnX x y |
    catList _ #(
        motion        control
        looks                sensing
        sound        operators
        pen            variables
        files                other).

You're still not done yet!  yikes

Last thing: Open a workspace and type in:

Code:

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

, highlight it, and select "do  it (d)" in a right mouse menu.

Finally! Now, next time you open Scratch, it will add your extra category. Happy to help!  wink


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#3 2010-08-18 18:45:54

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: something that is bothering me in my head

Jwosty wrote:

stickdude123 wrote:

ok here it goes...HOW DO U MAKE A CATAGORY IN SCRATCH?!?


<when green flag clicked>
<set[ confusion ]effect to( 999

I'll help, but I only know the code for the Scratch source...  hmm

Ok. First, you have to add the category color. On your computer, go into the ScratchSkin folder and copy any of the files like "control.gif", "controlOver.gif", and "controlPressed.gif" or "pen.gif", "penOver.gif", and "penPressed.gif" and call them whatever your category will be called. For example, "other.gif", "otherOver.gif", and "otherPressed.gif". Edit them to what color you want the category to be.

Now, enter the system browser (In Scratch) and go to:

Code:

Scratch-UI-Panes >> ScratchViewerMorph >> initialization >> rebuildCategorySelectors

Look at the first part;

Code:

    | catList maxExtent buttons label offForm onForm overForm b pad leftColumnX rightColumnX x y |
    catList _ #(
        motion        control
        looks                sensing
        sound        operators
        pen            variables).

Then add whatever categories you called the files (It has to be an even amount), for example:

Code:

    | catList maxExtent buttons label offForm onForm overForm b pad leftColumnX rightColumnX x y |
    catList _ #(
        motion        control
        looks                sensing
        sound        operators
        pen            variables
        files                other).

You're still not done yet!  yikes

Last thing: Open a workspace and type in:

Code:

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

, highlight it, and select "do  it (d)" in a right mouse menu.

Finally! Now, next time you open Scratch, it will add your extra category. Happy to help!  wink

It's the same on non-source Scratch.

Offline

 

#4 2010-08-18 18:48:15

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: something that is bothering me in my head

Billybob-Mario wrote:

It's the same on non-source Scratch.

Good! Yay.  big_smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#5 2010-08-18 18:48:50

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: something that is bothering me in my head

Billybob-Mario wrote:

It's the same on non-source Scratch.

Yeah, but it looks a little different.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2010-08-18 20:13:55

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: something that is bothering me in my head

i did everything AND IT ALL DISAPEARED ALL THE CATAGORYS!


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#7 2010-08-18 23:24:44

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: something that is bothering me in my head

stickdude123 wrote:

i did everything AND IT ALL DISAPEARED ALL THE CATAGORYS!

Uh-oh... That means you did something wrong...  yikes

You didn't save it, did you?! If you didn't, then DON'T save. If you did, you'll have to reinstall Scratch!  sad


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#8 2010-08-19 10:47:04

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

Re: something that is bothering me in my head

it doesnt work on non-sorce code.
btw, if you decide to do it (but on the source code) remember to save the image. if you don't, all of those changes will be lost so the program won't find the pictures for your new category (resulting in a complete chaos).

Offline

 

#9 2010-08-19 10:48:27

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

Re: something that is bothering me in my head

btw, as image i mean scratch-type image NOT gif- or png-type image

hate wrote:

60s rule

Offline

 

Board footer