Discuss Scratch

KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

Suggestion: a button (for advanced users, of course) to see how Scratch blocks are coded. Basically, you click a button, then it opens up something showing the coding for your project. This would be helpful for people who are experienced coders and want to know how the blocks work.

Also, maybe even make this text copy-able (only if they made the project) so they could upload it to other sites like Khan Academy, or other coding sites (I don't know any others besides Khan Academy)

Of course, I probably wouldn't use this as the coding would stress me as I don't understand it, but I know some experienced coders (such as Griffpatch) might want to
Charles12310
Scratcher
1000+ posts

A Way to See Scratch's Code

How will this function/operate/work?
KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

Charles12310 wrote:

How will this function/operate/work?
just shows you the coding behind the blocks
DominoDragon1
Scratcher
1000+ posts

A Way to See Scratch's Code

I support!
It would be very helpful in many ways, like being able to copy/paste. Scratch is also meant to be a beginning step into programming, and this function would allow scratchers to see the code behind it all, making for an easier transition into more programming languages.
The only problem I would see with it would be to confuse some people, but other than that, it's a great idea.
KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

DominoDragon1 wrote:

I support!
It would be very helpful in many ways, like being able to copy/paste. Scratch is also meant to be a beginning step into programming, and this function would allow scratchers to see the code behind it all, making for an easier transition into more programming languages.
The only problem I would see with it would be to confuse some people, but other than that, it's a great idea.
well, if it confuses them, just don't look at it

just because its ‘confusing for new scratchers’ doesn't mean it wouldn't be helpful. some new scratchers might hav a lot of prior experience

Last edited by KawaiiCatGirl- (Aug. 12, 2017 20:50:37)

DominoDragon1
Scratcher
1000+ posts

A Way to See Scratch's Code

KawaiiCatGirl- wrote:

DominoDragon1 wrote:

I support!
It would be very helpful in many ways, like being able to copy/paste. Scratch is also meant to be a beginning step into programming, and this function would allow scratchers to see the code behind it all, making for an easier transition into more programming languages.
The only problem I would see with it would be to confuse some people, but other than that, it's a great idea.
well, if it confuses them, just don't look at it

just because its ‘confusing for new scratchers’ doesn't mean it wouldn't be helpful. some new scratchers might hav a lot of prior experience

But some might be curious, and ask all sorts of questions about it on the forms, and other places. There are some things you can do to minimize these questions, like put it in a sticky (but not many people look there…).
Please note that I never even mentioned new scratchers, it could be confusing for any number of scratchers, or it might make complete sense to others.
Fupicat
Scratcher
1000+ posts

A Way to See Scratch's Code

There are many different programming languages. What would the block code be displayed as?
_nix
Scratcher
1000+ posts

A Way to See Scratch's Code

KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

Fupicat wrote:

There are many different programming languages. What would the block code be displayed as?
whichever one Scratch is cooded in? I forgot what it was, though
rainbow132
Scratcher
500+ posts

A Way to See Scratch's Code

KawaiiCatGirl- wrote:

Fupicat wrote:

There are many different programming languages. What would the block code be displayed as?
whichever one Scratch is cooded in? I forgot what it was, though
Scratch blocks are coded in Java I believe
Fupicat
Scratcher
1000+ posts

A Way to See Scratch's Code

rainbow132 wrote:

KawaiiCatGirl- wrote:

Fupicat wrote:

There are many different programming languages. What would the block code be displayed as?
whichever one Scratch is cooded in? I forgot what it was, though
Scratch blocks are coded in Java I believe
I believe it's coded in ActionScript because it runs on Flash. But don't quote me on that.

Many other drag and drop programming languages show their text code with JS. Maybe that could be used for Scratch, too.
kenny2scratch
Scratcher
500+ posts

A Way to See Scratch's Code

_nix wrote:

Here you go :D https://github.com/LLK/scratch-flash

(See ScratchObj.as, ScratchSprite.as, and ScratchStage.as; and maybe a few other files if you're curious, too.)
MentolMen
Scratcher
1000+ posts

A Way to See Scratch's Code

Just download project and name him name.zip open a zip and you have code of scratch project :0
KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

MentolMen wrote:

Just download project and name him name.zip open a zip and you have code of scratch project :0
Not everyone has zip openers such as WinRAR and aren't allowed to download stuff (I.e. Library computer)
MentolMen
Scratcher
1000+ posts

A Way to See Scratch's Code

KawaiiCatGirl- wrote:

MentolMen wrote:

Just download project and name him name.zip open a zip and you have code of scratch project :0
Not everyone has zip openers such as WinRAR and aren't allowed to download stuff (I.e. Library computer)
The same principle can be said that making such code is meaningless … why? After all, such code can not be sent through scratch … we need to register in a program where we can send someone to post in the program without registration
But for new users it will be katorga … to send someone or take somebody from the code … aio send the code we forget because the other person could play it would have to have a .zip file or project in scratch and the access to the code is only needed File to download who modify the code in real time could argue? Ie you add some blocks and fill out their fields and in the code you change what you would like to be able to argue through what many mistakes would be: 0 apologize for english to google translator
MentolMen
Scratcher
1000+ posts

A Way to See Scratch's Code

I see that my above statement can not be understood … so it will straighten you can change the code and have access to it you just have to download the project so I do not see the point of it being introduced in another version would just slow down the scratch in addon
TheMonsterOfTheDeep
Scratcher
1000+ posts

A Way to See Scratch's Code

But there is no coding behind Scratch blocks. Scratch is the language of Scratch - any meaning given to the Scratch language is through its interpreter. So “showing the coding” is a concept that doesn't make sense.
KawaiiCatGirl-
Scratcher
1000+ posts

A Way to See Scratch's Code

TheMonsterOfTheDeep wrote:

But there is no coding behind Scratch blocks. Scratch is the language of Scratch - any meaning given to the Scratch language is through its interpreter. So “showing the coding” is a concept that doesn't make sense.
there is coding behind the Scratch blocks, though
GEODASH69
Scratcher
81 posts

A Way to See Scratch's Code

“Inspect element” exists for a reason, you know.
TheUltimatum
Scratcher
1000+ posts

A Way to See Scratch's Code

Do you mean the scratch blocks in the forums? Like these?
[scratchblocks]
set [foo v] to [hey]
say (foo)
[/scratchblocks]

Powered by DjangoBB