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

#1 2010-08-03 23:05:58

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

changing the default sprite

i'm working on a scratch mod, and i'm wondering how i can change the default sprite.  i'm using the source code btw, not just hacking scratch.


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#2 2010-08-03 23:09:35

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

Re: changing the default sprite

In the folder where you keep the image file for your mod, make a file called 'default.sprite'. Basically, you make a sprite in Scratch or in your mod that you want to have as the default, and export it as 'default.'


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

Offline

 

#3 2010-08-03 23:21:13

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: changing the default sprite

thanks!  btw for all of the images in the scratch source folder, if i edit them will they change to the edits in my scratch mod?


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#4 2010-08-04 15:08:53

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

Re: changing the default sprite

ScratchReallyROCKS wrote:

In the folder where you keep the image file for your mod, make a file called 'default.sprite'. Basically, you make a sprite in Scratch or in your mod that you want to have as the default, and export it as 'default.'

It didn't work for me...  hmm


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

Offline

 

#5 2010-08-04 18:06:20

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: changing the default sprite

yah it didn't work for me, then i just changed it in the project, but as soon as i click new it brings back the old one of the cat, and the one of the cat isn't even in the source code file!


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#6 2010-08-04 18:12:00

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: changing the default sprite

i also need to know how to change all of the images like the green flag, i was hoping to be able to change it to a play button, i've always wanted to try it.


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#7 2010-08-16 18:06:01

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: changing the default sprite

Use the ScratchSkin.
Edit the Green Flag (dont change the names!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#8 2010-08-17 15:59:46

developdood
Scratcher
Registered: 2009-04-16
Posts: 63

Re: changing the default sprite

create a folder called "Media" then inside that one called "Costumes" and inside that put your default.sprite. Export the sprite from scratch and call it "default". The media folder must be in the same directory as the image


Have a look at some of my games. I made a cool physics game called "Physics Marble Cannon" which is really cool. I let anyone remix any of my projects without permission or credit necessary.

Offline

 

#9 2010-08-17 17:34:35

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

Re: changing the default sprite

developdood wrote:

create a folder called "Media" then inside that one called "Costumes" and inside that put your default.sprite. Export the sprite from scratch and call it "default". The media folder must be in the same directory as the image

No, you go to the "ScratchSkin" folder and edit the "defaultSpriteCostume.gif" file.

Then go into a System browser (In Scratch), open a workspace, type in

Code:

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

, highlight it, and press "command" and "d" (for mac). For Windows, you do the same thing, except instead of pressing "command" + "d", you right click and select

Code:

do it (d)

Hope this helps!  wink


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

Offline

 

#10 2010-08-18 05:53:54

developdood
Scratcher
Registered: 2009-04-16
Posts: 63

Re: changing the default sprite

Actually my way works. I did it and it works. It is easiest way and works best.


Have a look at some of my games. I made a cool physics game called "Physics Marble Cannon" which is really cool. I let anyone remix any of my projects without permission or credit necessary.

Offline

 

#11 2010-08-18 14:11:08

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: changing the default sprite

Dude, what if someone removes that?

tongue


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#12 2011-01-24 14:33:36

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: changing the default sprite

Jwosty wrote:

developdood wrote:

create a folder called "Media" then inside that one called "Costumes" and inside that put your default.sprite. Export the sprite from scratch and call it "default". The media folder must be in the same directory as the image

No, you go to the "ScratchSkin" folder and edit the "defaultSpriteCostume.gif" file.

Then go into a System browser (In Scratch), open a workspace, type in

Code:

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

, highlight it, and press "command" and "d" (for mac). For Windows, you do the same thing, except instead of pressing "command" + "d", you right click and select

Code:

do it (d)

Hope this helps!  wink

It works! (exept i had to download scratchSkin)

Last edited by comp500 (2011-01-24 14:34:17)


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

Board footer