open-browser-ScratchUIPanes-ScratchFrameMorph-private and replace the coding of update project name with:
updateProjectName
| t1 |
projectName ifNil: [projectName _ ''].
projectTitleMorph contents: (self nameFromFileName: projectName).
projectTitleMorph contents size > 0
ifTrue: [t1 _ projectTitleMorph contents , '- (name of mod)']
ifFalse: [t1 _ '(Whatever you want the title bar to be)'].
ScratchPlugin primSetWindowTitle: t1.
self fixLayout
Offline
Many thanks.
But I didn't work. The bold face "Based on Scratch" is still there filling all the free space left of the menu. Perhaps I have to make the font for "Based on Scratch" smaller to have the modname displaed?
csn
Offline
the bit that says based on scratch is a picture, just do the funny just right click on it 3 times in dev mode, and click the painty thing
Offline
sjmhrp wrote:
Thanks as well i thought you had to change the image in the in the scratch skin but your way is much easier. Does anyone know how to change the default sprite without using the scratch skin?
u can make a sprite and name it defaultsprite or something but it is not permanent... to make it permanently stay there (unless someone edits the skin) change the skin
Offline
A really interesting thread. I have the same problem changing the default sprite. But I do not understand exactly:
nathanprocks wrote:
name it defaultsprite or something but it is not permanent
What is ment with permanent? Isn't the defaultsprite loaded every time the mod is started?
By the way which directory I have to save the defaultsprite?
How do I
nathanprocks wrote:
change the skin
?
Change the skin like I did with the "based on scratch" sketch does not work. But cetainly I misunderstood your words.
Perhaps it is better to tell what is my problem:
I'd like to have a default sprite named "NXT" that is loaded as the first sprite when the mod is started. Furthermore it would be great if this first sprite is undeletable.
Offline
nathanprocks wrote:
csn wrote:
A really interesting thread. I have the same problem changing the default sprite. But I do not understand exactly:
nathanprocks wrote:
name it defaultsprite or something but it is not permanent
What is ment with permanent? Isn't the defaultsprite loaded every time the mod is started?
By the way which directory I have to save the defaultsprite?
How do Inathanprocks wrote:
change the skin
?
Change the skin like I did with the "based on scratch" sketch does not work. But cetainly I misunderstood your words.
Perhaps it is better to tell what is my problem:
I'd like to have a default sprite named "NXT" that is loaded as the first sprite when the mod is started. Furthermore it would be great if this first sprite is undeletable.LS97 wrote:
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
Code:
[url]http://tiny.cc/vfaq[/url]Contents:
1. Loading the skin
2. Adding categories--------------------------------
1. Loading the skin
IMPORTANT: always use the source code not scratch 1.4!
- download the skin here
- place it in the scratch source code folder and name it ScratchSkin.
- shift-click-r and open a workspace (world menu -> open -> workspace)
- type this code into it:
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 color of the buttons (optional)
- load the skin (see chapter 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 2 or 4).
before u open the workspace, edit anything you want in the ScratchSkin folder...
Offline
Thank you nathanprocks!
Defaultsprite is changed now. Hope noone gets annoyed answering the always repeating questions from newbies like me.
One thing is left. Teh defaultssprite name is still Sprite1 and it is deletable. Perhaps someone can help me.
By the way: Is there a place those newbie questions are answered like in a wiki? I know the faq but couldn't find the topic you have posted.
csn
Offline
csn wrote:
Thank you nathanprocks!
Defaultsprite is changed now. Hope noone gets annoyed answering the always repeating questions from newbies like me.
One thing is left. Teh defaultssprite name is still Sprite1 and it is deletable. Perhaps someone can help me.
By the way: Is there a place those newbie questions are answered like in a wiki? I know the faq but couldn't find the topic you have posted.
csn
did u change the scratch skin? if you did then u do not need a defaultsprite file... and after u have loaded the skin u do not need the ScratchSkin folder unless u want to edit other parts of the skin
Offline
Epicc05 wrote:
hey everybody! I'm just posting this comment to look smart...ish? I really have no idea what this is or what you guys are talking about. Although, I think mods means modifacations, moderators, and something else. I didn't even read anthing you guys typed! I don't even remember what the topic was.
![]()
![]()
![]()
-_-
If you are obviously posting something just to look smart, then saying how you don’t understand anything doesn’t contribute the the topic at all.
Not to mention that it really doesn’t make you look that smart.
Offline
nathanprocks wrote:
did u change the scratch skin? if you did then u do not need a defaultsprite file... and after u have loaded the skin u do not need the ScratchSkin folder unless u want to edit other parts of the skin
Sorry my post wasn't clear enough. I changed the skin and the sprite loaded as default is now changed. Everything oK about that.
But the name of this (new) default sprite is set by scratch as "Sprite1". As you load a second sprite this is named automatically "Sprite2". I'd like to have another name for the first sprite: "NXT" instead of "Sprite1".
In addition the first sprite should not be deletable from within the usermode of the mod. If a user right-clicks on the "NXT"-sprite he shall not find the entry "delete" in the little pop-up menu. There should always be a sprite named "NXT" in the mod.
Hope that's makes my point visible.
csn
Offline
Got it on my own!
The sprites name is set in Scratch-Objects | ScriptableScratchMorph | private | nextInstanceName .
I changed a row to :
(stage _ self ownerThatIsA: ScratchStageMorph) ifNil: [^ 'NXT'].
and the sprite presented when starting is named NXT!
To prevent deleting I edited Scratch-Objects | ScriptableScratchMorph | private | undoableDeleteSprite.
('NXT' compare: objName)=2
ifTrue: [self say: 'The NXT-sprite is not deletable!'.]
ifFalse: [
ScratchFrameMorph putInClipboard: self.
self deleteSprite.
].
Not really elegant but it works. Didn't find the method that creates the dialog.
csn
P.S. If anybody knows how to call the say:duration:... method I would like to hear. Or better: How to make a pop-up-message-window. That the sprite says that it is not deletable is somehow strange.
Offline
csn wrote:
P.S. If anybody knows how to call the say:duration:... method I would like to hear. Or better: How to make a pop-up-message-window. That the sprite says that it is not deletable is somehow strange.
Found this:
[DialogBoxMorph warn: 'Test this'.] fork.
gives a pop-up messagebox and the execution of the script is not interrupted.
csn
Offline
sjmhrp wrote:
by the way how do you change your signature
In profile, but you need to be a Scratcher
Offline
sjmhrp wrote:
At long last: http://www.mediafire.com/?z2y4p6u5c6da4fc. tell me if ive made amistake and there is an error.
Your mod has the same problem as mine except with white.


Offline
sjmhrp wrote:
WindowsExplorer wrote:
In profile, but you need to be a Scratcher
How to you change from new scratcher to a scratcher?
According to the message I got when I tried to change my sig, you need to keep posting and uploading.


Offline
veggieman001 wrote:
Epicc05 wrote:
hey everybody! I'm just posting this comment to look smart...ish? I really have no idea what this is or what you guys are talking about. Although, I think mods means modifacations, moderators, and something else. I didn't even read anthing you guys typed! I don't even remember what the topic was.
![]()
![]()
![]()
why did you post this
Didn't I mention this in my other post? I wanted to look smart!
EPICC05 WAS HERE! 
Offline