Discuss Scratch

gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Converting Scratch to other coding languages.

fredfish10 wrote:

whats the point in learning JS if I can just convert from scratch
The point of Scratch is to familiarize yourself with the basics of programming; it is a means to an end, not an end in itself. JavaScript is a very powerful language with many features that Scratch doesn't, such as value-returning, first-class functions and prototypal object-oriented programming. Scratch pales in the face of other programming languages.
pixelaaron
Scratcher
57 posts

Converting Scratch to other coding languages.

No support because scratch is meant for easy programming and merging another language would really cause confusion. Again…

NO SUPPORT!
legoboy7107
Scratcher
100+ posts

Converting Scratch to other coding languages.

What you might want to check out is a website called S2JS.com (Scratch to JavaScript) which is basically a javascript tutorial that builds on Scratch knowledge, and how to make the same stuff. Could be helpful in converting to JavaScript.
Rex208
Scratcher
500+ posts

Converting Scratch to other coding languages.

Although I like the idea, it probably wouldn't work in practice without the code getting really messy.
Sheep_maker
Scratcher
1000+ posts

Converting Scratch to other coding languages.

whenthisspriteclickedmove10steps
What would the converted version look like (in JavaScript)?
1MatsuLover
Scratcher
500+ posts

Converting Scratch to other coding languages.

Just gonna bump this.
Austinato
Scratcher
1000+ posts

Converting Scratch to other coding languages.

While I'm not a necessarily experienced coder, I've just started Java recently, I still find this neat, but I think this will be very difficult and if you do a large script, this could cause lag, for the computer to properly convert it for you.

I'm neutral with this suggestion because:
Support - Could introduce new Scratchers to other programming languages and hopefully inspire them.
Non-Support - Not everything is compatible and may corrupt your game. Also, may cause temporary lag spikes.

Please add me to a neutral list and nice suggestion,
Austinato
JavierR100
Scratcher
500+ posts

Converting Scratch to other coding languages.

Semi-support, the code might be hard to convert to java or other.

also, how the hat blocks would be the code and how be runned?

Try using Blockly.
Benur21
Scratcher
100+ posts

Converting Scratch to other coding languages.

What language is Scratch made in? Perhaps every Scratch block has its own code and so that code would just be shared.
Sheep_maker
Scratcher
1000+ posts

Converting Scratch to other coding languages.

Benur21 wrote:

What language is Scratch made in? Perhaps every Scratch block has its own code and so that code would just be shared.
It's made in ActionScript, I believe
TheMonsterOfTheDeep
Scratcher
1000+ posts

Converting Scratch to other coding languages.

Sheep_maker wrote:

Benur21 wrote:

What language is Scratch made in? Perhaps every Scratch block has its own code and so that code would just be shared.
It's made in ActionScript, I believe
*interpreted with

Scratch can be run in any language if somebody builds an interpreter. ActionScript is just the language that the Scratch website uses to interpret it.
CakeandBott
Scratcher
100+ posts

Converting Scratch to other coding languages.

Support, with both a Convert to Java/Convert to Scratch button and a Show Code button to help users learn programming freely (unlike the website Code.org) and export their code to the computer. Also they should add a Add Placeholder Block button for making mods for games like Minecraft (I really want to make worm entitys (segmented entitys that dig/fly) in Minecraft or install a mod for MultiMC that adds them)
jellyrmaker
Scratcher
95 posts

Converting Scratch to other coding languages.

I don't understand too much, but I thing was that

translate the blocks, that exists
SuperHal989
Scratcher
88 posts

Converting Scratch to other coding languages.

Support
Lolmander
Scratcher
100+ posts

Converting Scratch to other coding languages.

If we could could convert it to HTML5 WE COULD MAKE WEBSITES
SUPPORT!!

Last edited by Lolmander (Aug. 12, 2016 14:50:54)

gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Converting Scratch to other coding languages.

Lolmander wrote:

If we could could convert it to HTML5 WE COULD MAKE WEBSITES
SUPPORT!!
“HTML5” is really a buzzword that refers to JavaScript as well as HTML. Scratch is a programming language, not a markup language, so any “HTML5” conversions would probably be JavaScript code to draw on the canvas, as opposed to HTML code (tags, attributes, etc.).
jroo3
Scratcher
17 posts

Converting Scratch to other coding languages.

I am well aware that this is a VERY old thread, but here's a website for anyone that is viewing this thread now.

https://sheeptester.github.io/htmlifier/
scratchastroLOL
Scratcher
1000+ posts

Converting Scratch to other coding languages.

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or for teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch.
Rejected.
MrFluffyPenguins
Scratcher
1000+ posts

Converting Scratch to other coding languages.

https://snapinator.github.io/

convert scratch to snap
scratch978654
Scratcher
100+ posts

Converting Scratch to other coding languages.

TheMonsterOfTheDeep wrote:

Ravenpaw-Warrior wrote:

No support, this site is for all ages. Some people might not understand.
Well, that's not really a good argument. “For all ages” means that content should be appropriate for all ages, not that it should be simple.

I would say that a large majority of the Scratchers who are less than 13 probably don't know what these blocks do:
xmodysinofx
I do.

Powered by DjangoBB