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

#1 2010-12-29 01:13:24

SlowDrip
Scratcher
Registered: 2010-12-28
Posts: 100+

Scratch Text Coding

I just got a really crazy idea.
I program games in TADS and Inform 7 and I actually do it faster than I can use scratch.
So why not make a text mode in scratch?
This would save a lot of time.

Look at this:

[blocks]
<when green flag clicked>
<turn cw( 15 )degrees>
<move( 10 )steps>
<broadcast[ abc123
<stop all>
[/blocks]

Wouldn't it be so much easier to just type:

When green flag clicked:
    turn right 15 degrees;
    move 10 steps;
    broadcast abc123;
    stop all.

I told this to a friend and he asked me, "What about broadcasting and variables?" I think broadcasting and variables could still work out. I use Inform 7, and it showed me that a variables could be dealt with in text. For scratch, it would be:

ABC123 is a variable.

Simple, isn't it?
I think the people behind scratch should look at Inform 7. It could teach them a lot.


"Slow Drip": 1. A slow drip.
2. A stupid and boring person, like SlowDrip.

Offline

 

#2 2010-12-29 09:58:50

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Scratch Text Coding

I really like the idea of a Scratch mode with text input. I believe this was suggested before here, and it actually received a lot of support.  smile


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer