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

#26 2011-02-06 11:15:17

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

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Re-download to fix problems.


You can now reach me on Twitter @johnnydean1_

Offline

 

#27 2011-02-27 19:19:14

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

nXIII wrote:

A couple things:

1. You might want to encourage people to use the Scratch Source Code instead
2. In order to add new ScratchSkin items, open a class browser and navigate to "Scratch-UI-Panes"->"ScratchFrameMorph"->"class"->"scratch skin"->"readSkinFrom:"
Next, make sure you have the ScratchSkin folder (named exactly like that, available from the source code page) in the same folder as ScratchSource1.4.image. Add three .gifs to this: (your category).gif, (your category)Over.gif, and (your category)Pressed.gif
3. You can also make colors with (Color r:g:b smile
PS: Credits? ScratchReallyRocks (I think s/he did some of the stuff with the actual adding), me (for the odd number hack and adding images to the ScratchSkin), etc.

Oh no, my (Color r:g:b smile  has turned into a smiley!

what code do we use to add the files


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#28 2011-02-28 02:03:55

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

This guide looks really good! I've yet to see a better one for explaining how to add tabs. If you want to make it better, and worthy of a sticky, why not edit your first post to include some of the excellent information given in the replies? You could also think about dividing the tutorial into steps, providing screenshots and maybe include a guide on how to rename (and even recolour) existing catagories so people can replace catagories that already exist or remove them entirely! Keep up the good work!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#29 2011-03-04 21:54:43

gog1
Scratcher
Registered: 2010-10-22
Posts: 17

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

scratchycat625625 wrote:

Jwosty wrote:

Jakey22 wrote:

I got an error :
Message not understood: Over

Same here... How can we define it?

Make sure that all your spaces are in the right place, instead of

Code:

ScratchSkin at: #Other put: (ScratchFrameMorph skinAt: #control).
ScratchSkin at: #Other Over put: (ScratchFrameMorph skinAt: #controlOver).
ScratchSkin at: #Other Pressed put: (ScratchFrameMorph skinAt: #controlPressed).

put

Code:

ScratchSkin at: #Other put: (ScratchFrameMorph skinAt: #control).
ScratchSkin at: #OtherOver put: (ScratchFrameMorph skinAt: #controlOver).
ScratchSkin at: #OtherPressed put: (ScratchFrameMorph skinAt: #controlPressed).

OtherOver must have no spaces, otherwise it will think Over is a message.

you crashed and broke my mod i just had to restore it!


Hi!

Offline

 

#30 2011-03-08 11:27:22

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Offline

 

#31 2011-03-09 16:18:24

frowned
Scratcher
Registered: 2010-11-02
Posts: 42

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Hey... this tutorial has the buttons sticking through the frame of the pane! FIXIT!

Offline

 

#32 2011-04-09 15:25:49

zorket
Scratcher
Registered: 2010-05-25
Posts: 500+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

I'll bump this for you, so more will see it, and it will increase the chances of this topic getting stickied.


Marzipan11 must learn to not spoil

Offline

 

#33 2011-04-09 21:42:21

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

I like it, great.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#34 2011-04-11 10:20:17

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

soft319 wrote:

you almost crashed meh image.

EDIT: the latest code gave me

Message not unserstood: Pressed

EDIT: i edited the code and it gave me:

Person naughty: soft319

Fixed.

Offline

 

#35 2011-04-12 21:43:44

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

THIS NEEDS TO BE ITopic'd! IT IS THE ONLY ONE THAT EVER WORKS ON THE FIRST TRY, COOLSTUF PLEASE?!?!?!?


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#36 2011-04-14 11:36:08

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

I got an error and the categorys dissappeard!

Last edited by rdococ (2011-04-14 11:36:23)

Offline

 

#37 2011-04-29 22:22:13

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Doesn't want to work in 1.3.1 Source.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#38 2011-06-10 11:25:42

Rocker98585
Scratcher
Registered: 2010-12-26
Posts: 39

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

scratchycat625625 wrote:

Tons of people ask this question SO WE SHOULD MAKE A STICKY TO ANSWER IT.
Here's how.
1. Shift click the R in the Scratch logo (top left) and choose 'turn fill screen off'.
2. Middle click anywhere in scratch. At the bottom there should be pink text saying 'ScratchFrame'.
3. At the very top, 2nd from the left, there is a red icon. Click it and go to debug/inspect morph.
4. A window should open up. In the bottom frame, enter this code and replace (category) with your category name:

Code:

ScratchSkin at: #(category) put: (ScratchFrameMorph skinAt: #control).
ScratchSkin at: #(category)Over put: (ScratchFrameMorph skinAt: #controlOver).
ScratchSkin at: #(category)Pressed put: (ScratchFrameMorph skinAt: #controlPressed).

Highlight all the code, right click and press Do it.
5. Click anywhere on the grey and choose open/browser from that menu.
6. Go to Scratch-UI-Panes/ScratchViewerMorph/accessing/rebuildCategorySelectors. The 3rd line should look something like this:

Code:

t1 < #(#motion #control #looks #sensing #sound #operators #pen #variables ).

Add your new category to the end, so it looks like

Code:

t1 < #(#motion #control #looks #sensing #sound #operators #pen #variables #(new category) ).

Again, replace (new category) with your new category name.#
IF YOU WANT AN ODD NUMBER OF CATEGORIES, YOU NEED THIS CHANGE
If you need and odd number of categories, near the bottom there is code that says:

Code:

catButtonsExtent < 2 * t2 x + (3 * t9) @ (t1 size // 2 ...)

Change the t1 size // 2 to ((t1 size / 2) rounded...).
Right click on the code and press Accept.
7. Shift click on the R again and choose 'save image for end user'.
8. Open up scratch again and tadaa!
OPTIONAL: CUSTOM BLOCK COLOURS
I don't know how to change tab colours, but I do know how to change the colours for the blocks inside.
1. Exit fill screen mode and open up the browser again.
2.Go into Scratch-Objects/ScriptableScratchMorph AND CLICK THE CLASS BUTTON/block specs/blockColorFor:
3.Scroll down and put this code after the sensing bit:

Code:

'(category name)' = t1 ifTrue: [^ Color
    h:0
    s:0
    v:0].

As usual, replace (category name) with your new category name and replace HSV with a HSV colour code.
Hope this helps  smile

I did everything correctly. BUT NOW ALL THE BUTTONS TO OPEN CATEGORIES ARE GONE!!! GOSH! YOU TOTTALY MESSED UP MY SCRATCH!!

Offline

 

#39 2011-06-24 20:26:37

eclown
Scratcher
Registered: 2009-07-23
Posts: 19

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

what version of scratch were you using in the first tutorial and how can I get it?

[blocks]
<when green flag clicked>
<forever>
<say[ ?!?!?!
[/blocks]


http://img856.imageshack.us/img856/8247/cooltext554162460.png
♫ 92% of teens have moved on to rap. 8% still listen to real music. If you are part of the 0% who listen to good music, no matter what, copy and paste this into your signature. ♫♪

Offline

 

#40 2011-06-25 09:56:25

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

yeah? it just gives a blank pallete in 1.3.1 and 1.4source code and regular


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#41 2011-06-25 13:00:29

eclown
Scratcher
Registered: 2009-07-23
Posts: 19

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Hey GP1 can I help with your mod? I posted a comment on ur site! please reply to this post!

smile   neutral   sad   big_smile   yikes   wink   hmm   tongue   lol   mad   roll   cool


http://img856.imageshack.us/img856/8247/cooltext554162460.png
♫ 92% of teens have moved on to rap. 8% still listen to real music. If you are part of the 0% who listen to good music, no matter what, copy and paste this into your signature. ♫♪

Offline

 

#42 2011-06-26 17:52:52

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

eclown wrote:

Hey GP1 can I help with your mod? I posted a comment on ur site! please reply to this post!

smile   neutral   sad   big_smile   yikes   wink   hmm   tongue   lol   mad   roll   cool

yes yes yes yes yes yes yes yes yes yes. Go to the Kitcat forums, I posted a reply to your post.


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#43 2011-07-04 07:18:00

scratchycat625625
Scratcher
Registered: 2009-06-05
Posts: 17

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Did I really write this?
Something like 1 year later, and I've completely forgotten Squeak XD


Plug 'n' play... How do they know my street name?

Offline

 

#44 2011-07-08 00:13:17

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

the button sits underneath the frame! how do i fix that?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#45 2011-07-08 11:20:42

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Help! It won't work! It won't accept (do it) the first codes!

Offline

 

#46 2011-07-13 20:01:55

TuragaTreeko
Scratcher
Registered: 2011-04-24
Posts: 100+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

Um, I'm right clicking... where is Do It?


http://goo.gl/RDqKF

Offline

 

#47 2012-06-01 19:01:56

me22
New Scratcher
Registered: 2012-05-19
Posts: 1

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

What does middle click mean?

Offline

 

#48 2012-06-01 19:07:35

joletole
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

me22 wrote:

What does middle click mean?

Well, first of all, you necroposted. Which means you posted on a topic that is more then 6 months old.

But to answer your question, he just means right click.

Offline

 

#49 2012-06-01 20:44:55

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

joletole wrote:

me22 wrote:

What does middle click mean?

Well, first of all, you necroposted. Which means you posted on a topic that is more then 6 months old.

But to answer your question, he just means right click.

Actually, middle-click is when you press the scroll wheel down. (Just like any other mouse button). Some mice or touch-pads don't have a middle button, so right-clicking or Alt-clicking may work. On my laptop, I use Ubuntu and right-clicking gets annoying when I turn fill-screen off and I try to right-click something in Scratch. (I have to hold the left button down for a couple of seconds instead.)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#50 2012-06-01 22:00:55

suneel
Scratcher
Registered: 2012-01-27
Posts: 96

Re: GUIDE: MAKE NEW TABS IN SCRATCH (Please sticky)

majormax wrote:

Okay.... so I pressed Do it and exited the window, but it said "Changes have not been saved. Is it okay to cancel those changes?" I copied all the code. Do you have to keep the paratheses? I have to go to my cousins right now, so I can't test it.

Nice button majormax. Where did u get it?


Get Gangnam Style for free!
getgangnamforfree.weebly.co­­m

Offline

 

Board footer