This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-03-29 12:34:30

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Text Based Scratch

This is more a question than a suggestion.. I was wondering if it would be possible for the scratch team to implement something like forum blocks, so you can type your code with commands such as, "< when green flag clicked >" Instead of acctually dragging the,
<when green flag clicked>
block around. Then you could compile this source and it would be translated into code in the scratch editor?


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#2 2009-03-30 09:32:23

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Text Based Scratch

You mean like this, instead of doing this:

[blocks]<when green flag clicked>
<go to x sad  0 )y sad  0
<forever>
<move( 10 )steps>
<turn cw( 15 )degrees>
<end>[/blocks]

You could open up a window and type it in code, like this:

Flag Clicked
goto(0,0)
forever
movesteps(10)
turncw(15)
end
Of course I used a made up language there.

If you mean that, I don't think the Scratch Team will add it, since Scratch is supposed to be a simple to use/learn graphical language. You could just use a typed language such as Logo, Lua, Ruby, Java, C/C++, and lots more.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

Board footer