Discuss Scratch

Mrcomputer1
Scratcher
500+ posts

Guide to Modding Scratch 3.0

GamerDAC wrote:

(long unnecessary quote removed by moderator - please don't spam)

if you're still alive can u answer this question: do i have to use github or can i just use my terminal?
You only need to use GitHub to download the source code (either with the Git command line from the Terminal or the download option on the GitHub website). Once you have the source code, you do not need to use GitHub or Git and can just use the Terminal.
Tetrodotoxins
Scratcher
51 posts

Guide to Modding Scratch 3.0

Dyrle2D wrote:

What do I do I run scratch on C++ how am I going to mod if I don't use JavaScript. I also don't know javaScript
you would have to either rewrite stuff or make chromium stuff , else simply: compile from C++ to WebAssembly or ECMAScript but its almost always easier to learn the language itself then make compilers or any of that complicated stuff. for learning Js I strongly recommend you take a look at w3schools
Scratchtheguy1
Scratcher
500+ posts

Guide to Modding Scratch 3.0

Can someone tell me where I can learn Javascript for free? I don't know ANYTHING with text (REAL) programming langauges.
stefie10
Scratcher
63 posts

Guide to Modding Scratch 3.0

Scratchtheguy1 wrote:

Can someone tell me where I can learn Javascript for free? I don't know ANYTHING with text (REAL) programming langauges.

Khan academy has a really good course that I used.
https://www.khanacademy.org/computing/computer-programming
Tetrodotoxins
Scratcher
51 posts

Guide to Modding Scratch 3.0

Scratchtheguy1 wrote:

Can someone tell me where I can learn Javascript for free? I don't know ANYTHING with text (REAL) programming langauges.

w3schools worked WONDERS for me

learning there is similar to how I learned scratch : “try this try that and then try some thing else”

Courses to open and mess around with:

- HTML

- JS

- CSS ( for styled elements like fancy buttons )


Hopefully that helps , you probably will still end up stuck trying to find some way to avoid nodejs servers when navigating confusing git repos and that's really annoying
XxFrogpantsxX
Scratcher
2 posts

Guide to Modding Scratch 3.0

Thank you so much! I've been looking for a way to create a gpu accelerated 3d rendering but I had no idea how to mod scratch itself. Hopefully I can get my extension done and added to turbowarp. Again tysm!
sharethewisdom
Scratcher
1 post

Guide to Modding Scratch 3.0

All I want to do is change the library of sprites and backdrops, to theme them and/or localize them, curate the submissions from our Scratchers, add more costumes as animation frames for jumping, running, … etc.

So I want to host my own set of sprites/costumes locally and use the editor offline (with a debugger). Unfortunately the scratch-desktop branch in the monorepo doesn't seem to be helpful

Can I release my own fork of the scratch-editor monorepo on github pages?

  • which variables need to be defined in the .env file?
  • what do I need to do to get the github CI workflow actions to work and release the scratch-gui page on my own github pages?
  • which major modifications are required to package the monorepo build with electron, for offline use? (it appears there is an Appimage from the scratch-desktop repo build for Linux)
  • if I change the json files in packages/scratch-gui/src/lib/libraries, how do I point the assets to be on my local domain rather than cdn.assets.scratch.mit.edu?

I'd like to get an idea of how complete the monorepo is at this point, and if it is at least feasible.
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

sharethewisdom wrote:

which major modifications are required to package the monorepo build with electron, for offline use? (it appears there is an Appimage from the scratch-desktop repo build for Linux)
Offline builds are made from the separate scratch-desktop repo, which has scratch-editor as a dependency. I don't think any changes need to be made to either repo.

sharethewisdom wrote:

if I change the json files in packages/scratch-gui/src/lib/libraries, how do I point the assets to be on my local domain rather than cdn.assets.scratch.mit.edu?
The URL where the previews of library items are from is defined as assetServiceUri in scratch-editor/packages/scratch-gui/src/components/library/library.jsx.

The URL where the assets are loaded from once they're added to the project is controlled by the assetHost prop of the GUI component. The prop can be added at the bottom of scratch-editor/packages/scratch-gui/src/playground/render-gui.jsx.

scratch-desktop has a build script that fetches the assets and saves them to local files so that they can be used offline: scratch-desktop/scripts/fetchMediaLibraryAssets.js
GAMER_BOY-_-
Scratcher
34 posts

Guide to Modding Scratch 3.0

GvYoutube wrote:

(long unnecessary quote removed by moderator - please don't spam)

glad to know this a a scratch team sticky page lol
Are you the moderator?
GAMER_BOY-_-
Scratcher
34 posts

Guide to Modding Scratch 3.0

forever
set [nerds like me v] to [mod scratch]
end
MEMO_se_DA
Scratcher
17 posts

Guide to Modding Scratch 3.0

Hey guys, I need someone to help me script a scratch mod. I am an HTML programmer and I SUCK at javascript.
now-38
Scratcher
4 posts

Guide to Modding Scratch 3.0

I don't know how
when gf clicked
forever
if <modding is easy :: sensing> then
say [...]
else
say [:(]
GamerDAC
Scratcher
100+ posts

Guide to Modding Scratch 3.0

I HONESTLY KNOW HOW TO USE JS AND PYTHON BUT FOR SOME REASON I CAN'T LAUNCH SCRATCHATTACH.

is this a bad setup:
My browser / operating system: MacOS Tahoe 26 M2 Chip, Chrome 141.0.0.0, No Flash version detected

Powered by DjangoBB