Discuss Scratch

Sup1004
Scratcher
20 posts

What Language Does Scratch Use?

PlainCodA wrote:

Guys, I have a question, since Scratch uses html5, does that mean Scratch uses JavaScript?

when green flag clicked
forever
if <key [left arrow] pressed?> then
Walking (-90) (-4)
end
if <key [right arrow] pressed?> then
Walking (90) (4)
end
end

define Walking (angle) (speed)
point in direction (angle)
change x by (speed)
Your speed is your x position and your direction is your angle so when ever you do something you have to always set your angle to what you want or set your speed to your x position cause how are you supposed to go backwards?
powerbox100
Scratcher
38 posts

What Language Does Scratch Use?

PlainCodA wrote:

Guys, I have a question, since Scratch uses html5, does that mean Scratch uses JavaScript?

when green flag clicked
forever
if <key [left arrow] pressed?> then
Walking (-90) (-4)
end
if <key [right arrow] pressed?> then
Walking (90) (4)
end
end

define Walking (angle) (speed)
point in direction (angle)
change x by (speed)

Yes, but JS is only for the GUI, and isn't on every website. For more information see their GitHub repo.

Last edited by powerbox100 (Oct. 16, 2020 17:39:29)

sathvikrias
Scratcher
500+ posts

What Language Does Scratch Use?

1.x=squeak
2.0=flash
3.0=html5
thecyberguy
Scratcher
8 posts

What Language Does Scratch Use?

alexphan wrote:

Before Scratch 2.0, it was coded with Squeak (a version of Smalltalk). Now, it's programmed with Adobe Flash (which is based on ActionScript).

Some more info you probably don't want
Phosphorus converts Scratch projects into Javascript so certain projects can run faster.

Currently Scratch is making an HTML5 version which does not need Flash.
Actually,scratch is using both javascript and HTML5
ninjaMAR
Scratcher
1000+ posts

What Language Does Scratch Use?

thecyberguy wrote:

alexphan wrote:

Before Scratch 2.0, it was coded with Squeak (a version of Smalltalk). Now, it's programmed with Adobe Flash (which is based on ActionScript).

Some more info you probably don't want
Phosphorus converts Scratch projects into Javascript so certain projects can run faster.

Currently Scratch is making an HTML5 version which does not need Flash.
Actually,scratch is using both javascript and HTML5
html/css/js
Rendangbike2
Scratcher
1000+ posts

What Language Does Scratch Use?

For the website, it uses my favourite language, Python.

Powered by DjangoBB