Discuss Scratch

hockeystar87
New to Scratch
2 posts

Programming language

What programming language is this in? I love Scratch because each block has a line or two of code and it is awesome for younger kids who are learning how to computer program. I am interested in learning a programming language, and I was curious as to what language Scratch is based off of and if there is any way to view the actual code in your script. Thanks!
ErnieParke
Scratcher
1000+ posts

Programming language

Scratch is currently written in Flash. To view the Flash code behind a project, all you need to do is download a project of your choice, replace the .sb2 with a .zip, then un-zip the project, and finally find the .json file in your new folder. That's the project's code!

Anyway, since you said you're interested in learning a programming language, I'd like to recommend Java. If you want to try Flash out first though, there's this nice Programming RPG on Kongregate.

Showing,

ErnieParke

AonymousGuy
Scratcher
1000+ posts

Programming language

ErnieParke wrote:

Scratch is currently written in Flash. To view the Flash code behind a project, all you need to do is download a project of your choice, replace the .sb2 with a .zip, then un-zip the project, and finally find the .json file in your new folder. That's the project's code!
Except it's not actually the Flash code. That is the JSON data which the project player loads and runs. The actual Flash code isn't open-source as of yet, so you can't view Scratch's base code.

If you had a way to decompile the file you could, but decompiling code can probably get you in a lot of trouble. Just saying.
solidstatedrive
Scratcher
6 posts

Programming language

Scratch 1.4 was written in Squeak. I cannot say the same for version 2.0 however, as they have not yet released the source code for it yet. You do require Flash Player to use Scratch, however that does not necessarily mean that it was written in ActionScript (Flash's Programming Language); as any program with Flash content will need Flash player to view the media regardless of the language the core site was written in. Whole sites written in Flash, however, will need Flash player to be viewed in its entirety.

@AonymousGuy: As far as I am aware, Scratch is not against the decompiling of the Scratch code. It allows you to view its Source Code (only for v1.4 as of yet), and sets out guidelines for you to adhere to when making changes; but this (according to my sources) is to avoid confusion between your Scratch and the actual Scratch. Other than that you can be reasonably satisfied that decompiling will not get you into trouble when you are given access to the source code!

Good programming languages: Scratch is very good to get you started, but after that it depends on what you want to program. Java is good, as is Python. I started on Flash, but that wasn't easy (I was quite young then)! Start simple is my advice
firedrake969_test
Scratcher
500+ posts

Programming language

It's written in Flash.

In my opinion, Javascript is one of the best languages to learn after Scratch, because it has pretty similar syntax, compared to others.

Alt account of Firedrake969.

Rocket II: A black and white bitmap space game!

I seek not fame, but education.

;
turkey3
Scratcher
1000+ posts

Programming language

firedrake969_test wrote:

It's written in Flash.

In my opinion, Javascript is one of the best languages to learn after Scratch, because it has pretty similar syntax, compared to others.
True, but then again JavaScript is mainly for web development. But I know what u mean.

Last edited by turkey3 (March 7, 2014 21:00:51)


desway
Scratcher
100+ posts

Programming language

hockeystar87 wrote:

What programming language is this in? I love Scratch because each block has a line or two of code and it is awesome for younger kids who are learning how to computer program. I am interested in learning a programming language, and I was curious as to what language Scratch is based off of and if there is any way to view the actual code in your script. Thanks!
Scratch is made in actionscript, and i believe that programming in a different language is quite difficult because the command's are very different and can be confusing, i think you should hold off using another language until you think you can handle it or you at least get better at scratch

I'm an animator, programmer, and helper on the forums. I make a lot of stuff myself, so you can request an animation on my profile and I will get back to you ASAP.


iTweak0r
Scratcher
100+ posts

Programming language

desway wrote:

hockeystar87 wrote:

What programming language is this in? I love Scratch because each block has a line or two of code and it is awesome for younger kids who are learning how to computer program. I am interested in learning a programming language, and I was curious as to what language Scratch is based off of and if there is any way to view the actual code in your script. Thanks!
Scratch is made in actionscript, and i believe that programming in a different language is quite difficult because the command's are very different and can be confusing, i think you should hold off using another language until you think you can handle it or you at least get better at scratch
Don't necropost!

Specs 1 (main): Safari on MacBook Pro; Late 2008; Core 2 Duo @2.4GHz; 8GB 1067MHz DDR3 RAM; Mac OS X 10.10;

Specs 2: Firefox on Lenovo Yoga 13; Core i7 @2.0GHz; 8GB 1600MHz DDR3 RAM;
tri-boots Windows 10 Pro, Mac OS X 10.10, and Ubuntu 14.01 LTS;

All have the latest version of Flash.
desway
Scratcher
100+ posts

Programming language

iTweak0r wrote:

desway wrote:

hockeystar87 wrote:

What programming language is this in? I love Scratch because each block has a line or two of code and it is awesome for younger kids who are learning how to computer program. I am interested in learning a programming language, and I was curious as to what language Scratch is based off of and if there is any way to view the actual code in your script. Thanks!
Scratch is made in actionscript, and i believe that programming in a different language is quite difficult because the command's are very different and can be confusing, i think you should hold off using another language until you think you can handle it or you at least get better at scratch
Don't necropost!
I don't know what that means.

I'm an animator, programmer, and helper on the forums. I make a lot of stuff myself, so you can request an animation on my profile and I will get back to you ASAP.


gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Programming language

desway wrote:

iTweak0r wrote:

desway wrote:

hockeystar87 wrote:

What programming language is this in? I love Scratch because each block has a line or two of code and it is awesome for younger kids who are learning how to computer program. I am interested in learning a programming language, and I was curious as to what language Scratch is based off of and if there is any way to view the actual code in your script. Thanks!
Scratch is made in actionscript, and i believe that programming in a different language is quite difficult because the command's are very different and can be confusing, i think you should hold off using another language until you think you can handle it or you at least get better at scratch
Don't necropost!
I don't know what that means.
It's important to know the rules before you post. You are responsible for familiarizing yourself with the rules.

A necropost is a post on an inactive topic. Please check the date of the last post before posting and do not post on old, inactive topics.

Powered by DjangoBB