Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Swapping out the Scratch Cat (CLOSED)
- QuantumSingularity
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
Everyone knows that whenever you first create a project, all that you've got is the scratch cat sprite, right? I'm interested in swapping the scratch cat for another sprite (namely Griffpatch's new animated scratch cat) in my offline editor. I had some ideas as to how to do it, but they didn't work? Ideas?
Last edited by QuantumSingularity (Jan. 1, 2017 19:19:29)
- card100
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
Seems like the best option would to make a mod, doesn't seem worth the time…
- herohamp
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
I wish they would just switch out the normal cat for griffpatches
- algmwc5
-
100+ posts
Swapping out the Scratch Cat (CLOSED)
I learned about how to set the default sprite a while ago, thanks to NoMod-Programming
You'll need the:
Scratch 2.0 source code (can be obtained from the github repo)
An svg sprite
Modified ScratchRuntime.as
You'll need the:
Scratch 2.0 source code (can be obtained from the github repo)
An svg sprite
Example: First you need to add some vector images to thefolder (it doesn't work with bitmap). Then you need to go to the/src/assets/and after the variables are initialized, you need to add the following line:/src/scratch/ScratchRuntime.asThen you need to replace the installNewProject() code with this[Embed(source='../assets/Name-of-file.svg', mimeType='application/octet-stream')] protected static var ModCostume1:Class;
Modified ScratchRuntime.as
Last edited by algmwc5 (Dec. 22, 2016 08:58:39)
- hedgehog_blue
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
My Reply
Reply to this
Why don't you just add in the griffpatch sprite whenever you make a new project? It seems to be a waste of time to make a mod so that it is automatically there whenever you make a new project. Just import the griffpatch scratch cat as a gif into the costumes section of a sprite and you have all the right costumes (and if you're online then just use the backpack).
Reply to this
If you want to reply to this post, please notify me on my profile with a link to the post. You can not get messages from replies in forums and I do not want to follow the discussion or I will get too many messages that are not replies to me. Thanks! : )
- LuigiFan5204
-
100+ posts
Swapping out the Scratch Cat (CLOSED)
I think griffpatch's sprite is better. Maybe in the 3.0 release they might change it.
- QuantumSingularity
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
Thanks! I think I got it now.
- PullJosh
-
1000+ posts
Swapping out the Scratch Cat (CLOSED)
PSA: You can close your own topic by clicking a “close topic” link which is near the bottom of the page. It's a bit tricky to find, but you can see it below the “new reply” box.
(You can only close topics that are your own, and that have been open for at least 24 hours.)

- Discussion Forums
- » Advanced Topics
-
» Swapping out the Scratch Cat (CLOSED)