Too many people are asking, on different forum threads, questions like how do i load my skin? This post aims at keeping this forum clean and answering all those FAQs that annoy experienced modders. just link the users to
[url]http://tiny.cc/vfaq[/url]
Contents:
1. Loading the skin
2. Adding categories
--------------------------------
1. Loading the skin
IMPORTANT: always use the source code[b], not scratch 1.4!
- download the skin here
- extract and place it in the scratch source code folder naming it ScratchSkin.
- turn fill screen off and open a workspace (world menu -> open -> workspace)
- type this code into it:
[b]ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
- select that text, right-click and click 'do it'.
- repeat these steps each time you need to load the skin for some reason.
2. Adding categories
- edit the skin first: copy the files called control, controlPressed, controlOver and paste them with the names yourcategory, yourcategoryOver, yourcategoryPressed.
- use any graphics editing software to change the colour of the buttons (optional)
- reload the skin (see step 1)
- in the scratch browser (see shift-click-r in wiki), go to Scratch-UI-Panes, ScratchViewerMorph, --all--, rebuildCategorySelectors.
- you'll see a list with all of the existing category names. add yours (add an even number or the layout will look weird!).
3. Saving your changes
This is a very important step, because without this your above modifications will not work.
- shift click the file menu
- click save image for end user
- restart the program to see your changes
Last edited by LS97 (2013-03-05 14:40:47)
Offline
Good idea!
Offline
thought so
Offline
Jwosty wrote:
Nice, I think this should be stickied!
I don't....
Anyway, if you want my little hack for odd category numbers, just use (catList size / 2) rounded instead of (catList size // 2)
Offline
i know that. you'll have said it 10 times by now.
Offline
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
^ Thats what it should be
Last edited by johnnydean1 (2010-08-12 03:39:28)
Offline
How to change the colour of all blocks in a catagory
Offline
under ScriptableScratch's blockColorFor: or something like that.
Offline
nXIII wrote:
Oh. Sorry.
I just saw that you hadn't put it in there, and had instructed the user to put an even number of categories.
i know, just couldn't be bothered to write all that stuff
*shoots at 60 second rule*
Last edited by LS97 (2010-08-12 05:07:42)
Offline
LS97 wrote:
nXIII wrote:
Oh. Sorry.
I just saw that you hadn't put it in there, and had instructed the user to put an even number of categories.i know, just couldn't be bothered to write all that stuff
*shoots at 60 second rule*
They should make it so that you only get the 60-second rule if you've been caught spamming.
*joins in the shooting*
Offline
No if you have > 500 posts
Offline
I'm not sure, because then you can just start madly spamming after a while, or set up a bot to post every 61 seconds 500 times for you. It's hard to decide what to do about it...
Last edited by nXIII (2010-08-12 16:07:01)
Offline
i think they should add both.
i'm fine for both anyway
almost reaching my 600s
Last edited by LS97 (2010-08-13 03:36:57)
Offline
I did this and i got the Error: Key not found.
The error tells me the default sprite (cant get rid of cat) isnt there.
Offline
Great tutorial but when I go to the workspace and type in the code it doesn't work! I type in what you said and then select it. I then click it and click do it. Then it says right parenthesis expected ->. Can you help???
Offline
bbbeb wrote:
It LOADS (hence, loads = uploads to Squeak) the skin.
Exit your Scratch Browser, and restart it.
scratch window.
and remember to save image
Offline