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

#226 2010-12-29 23:14:35

MiffinTheMuffin
Scratcher
Registered: 2010-12-11
Posts: 1000+

Re: Text-Based Scratch

Good idea. It would make everything look a LOT more impressive.


http://i.imgur.com/FDvbV.png

Offline

 

#227 2010-12-29 23:32:53

a1130
Scratcher
Registered: 2009-08-27
Posts: 500+

Re: Text-Based Scratch

That just looks a LOT better... and it also gives it a more "sophisticated" feel, don't you think? I TOTALLY support!

When Green Flag Clicked
[say: (I totally support!) for (2) sec]
[stop all]
{end}

Offline

 

#228 2010-12-29 23:53:06

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Text-Based Scratch

Support!

Another idea: what if, in text mode, you still had the blocks? When you drop a block into the scripting area, it would insert that block as text where your mouse is! Just a thought.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#229 2010-12-29 23:57:36

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Text-Based Scratch

MiffinTheMuffin wrote:

Good idea. It would make everything look a LOT more impressive.

But looks aren't everything  tongue
..........................................
I half support. xP


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#230 2010-12-30 00:01:38

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: Text-Based Scratch

Chrischb wrote:

That's too... fancy.  tongue  Simplicity might be better for something basic like Scratch...  hmm

I prefer that honestly.

When compared to something like this:

When Green Flag Clicked
[say: (I totally support!) for (2) sec]
[stop all]
{end}

SRR's feels much less blocky than the above example. Some mess is needed to make it feel comfortable in a text based enviroment.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#231 2010-12-30 00:22:51

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: Text-Based Scratch

I have a text-based language parser built in Flash. Once Scratch 2.0 comes out, I'll integrate a feature like this into a mod.  big_smile


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#232 2010-12-31 21:03:40

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Text-Based Scratch

soupoftomato wrote:

Chrischb wrote:

That's too... fancy.  tongue  Simplicity might be better for something basic like Scratch...  hmm

I prefer that honestly.

When compared to something like this:

When Green Flag Clicked
[say: (I totally support!) for (2) sec]
[stop all]
{end}

SRR's feels much less blocky than the above example. Some mess is needed to make it feel comfortable in a text based enviroment.

Except that this is supposed to be the ergonomic (if that's the right word) option, so it isn't supposed to look blocky. There's no point in all the extra parentheses and various brackets, so they shouldn't be there.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#233 2011-01-01 00:15:16

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Text-Based Scratch

Also, no lag for duplicating certain things for copy/paste, and also, you can undo by pressing the delete button! Support!

Offline

 

#234 2011-01-01 10:28:42

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

Re: Text-Based Scratch

ScratchReallyROCKS wrote:

soupoftomato wrote:

Chrischb wrote:

That's too... fancy.  tongue  Simplicity might be better for something basic like Scratch...  hmm

I prefer that honestly.

When compared to something like this:

When Green Flag Clicked
[say: (I totally support!) for (2) sec]
[stop all]
{end}

SRR's feels much less blocky than the above example. Some mess is needed to make it feel comfortable in a text based enviroment.

Except that this is supposed to be the ergonomic (if that's the right word) option, so it isn't supposed to look blocky. There's no point in all the extra parentheses and various brackets, so they shouldn't be there.

I have to agree with SRR on this one. I think learning which brackets go around which blocks would make a text version of Scratch more difficult to learn, not easier to understand. It's one more thing to memorize. I prefer an implementation like either C/Java or Python.


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

Offline

 

#235 2011-01-04 13:07:25

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: Text-Based Scratch

Cool idea, but it kind of ruins scratch's original idea. But it might be good. Since those who are fast typers could use text and those who prefer dragging blocks would use blocks.

Offline

 

#236 2011-01-04 16:28:18

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Text-Based Scratch

What would be a good idea is that if anyone clicks on the text tab, a notification comes up, telling the user that if you are learning scratch, do not go to this tab.


~ihaveamac - visit ihaveamac.net

Offline

 

#237 2011-01-04 17:52:25

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Text-Based Scratch

werdna123 wrote:

Cool idea, but it kind of ruins scratch's original idea. But it might be good. Since those who are fast typers could use text and those who prefer dragging blocks would use blocks.

How would it ruin the original idea?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#238 2011-01-05 05:12:37

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: Text-Based Scratch

ScratchReallyROCKS wrote:

werdna123 wrote:

Cool idea, but it kind of ruins scratch's original idea. But it might be good. Since those who are fast typers could use text and those who prefer dragging blocks would use blocks.

How would it ruin the original idea?

Maybe not, but I think Scratch was intended to be different in the way it had blocks. But if you used both it'd be OK.

Offline

 

#239 2011-04-26 18:49:32

karatekid1998
Scratcher
Registered: 2009-06-26
Posts: 24

Re: Text-Based Scratch

I myself had an idea like this.
It's a different syntax than yours though...
Here is a hello world script.

Code:

Project ("Hello world!")
     Sprite [Sprite1]
            Script [on start]
                   Say ("Hello world!") for [1]
            End Script
            //insert more scripts here.(// is a comment)
     End Sprite
     //insert more sprites here.
End Project

Which means
[blocks]<when green flag clicked>
<say[ Hello world!]for(1)secs>[/blocks]

Offline

 

#240 2011-04-26 19:26:10

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Text-Based Scratch

Just one thing I want to say:

instead of clicking [blocks mode] and [text mode], they should make it one button that changes it's blocks/text mode.

Offline

 

#241 2011-04-26 19:41:28

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Text-Based Scratch

Do this and we need an option to save as XML, simple enough
so i can apply my UI hax- i mean be able to read the file in a different format


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#242 2011-04-29 07:01:04

Optimax-DJ
Scratcher
Registered: 2010-02-15
Posts: 100+

Re: Text-Based Scratch

I also suggested this (you might be able to still see it in the suggestions area of the forums. I think It's a great idea.


http://desmond.imageshack.us/Himg716/scaled.php?server=716&amp;filename=optimaxdj.jpg&amp;res=medium
Treat others as you would like to be treated  smile

Offline

 

#243 2011-05-02 17:49:17

martianshark
Scratcher
Registered: 2008-03-24
Posts: 1000+

Re: Text-Based Scratch

markyparky56 wrote:

martianshark wrote:

I have an idea for this if it happens: The place where the blocks would be turns into a box with code keys!

You mean, have the bloks as what they would be in text version?

What I meant was that in blocks mode, the palette would show the codes for different blocks - to help you out when you're typing the code.

Honestly, I think this is a really good idea. It's the next step to real programming.


http://img.geocaching.com/stats/img.aspx?txt=martianshark&amp;uid=e6cdc2c8-2476-4abd-9994-27f857396579&amp;bg=1

Offline

 

#244 2011-05-02 21:25:45

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Text-Based Scratch

I think that a text-based scratch should be more object-oriented, and more similar to java.


Back. For now. Maybe.

Offline

 

#245 2011-05-02 21:48:06

ninjaaa
Scratcher
Registered: 2011-05-01
Posts: 63

Re: Text-Based Scratch

Interesting  wink

Offline

 

#246 2011-05-02 21:53:15

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

Re: Text-Based Scratch

throughthefire wrote:

I think that a text-based scratch should be more object-oriented, and more similar to java.

The idea of Text Scratch isn't to change how the language works, but rather provide an alternative way to write scripts.


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

 

#247 2011-05-03 10:29:47

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Text-Based Scratch

scmb1 wrote:

I think that is a cool idea. It would be like text programming in plain English.

Good, nice idea.

What about...
[command] "string" 'number' #comment# <boolean> (reporter) <hat>
So...

Code:

<when green flag clicked>
[say (var) for '2' secs]-#This is an attached comment#

#Comment unattatched num1#                     #Comment at different place#

Or...

Code:

Project "Project"
        Sprite "Sprite1" image "image.gif" xy at start "0" "0"
                 Script [on start]
                         say "Hello." for '2' secs
                 End Script
        End Sprite
End Project

Offline

 

#248 2011-05-05 19:37:08

guardianangelsss
New Scratcher
Registered: 2011-05-05
Posts: 2

Re: Text-Based Scratch

niceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Offline

 

#249 2011-05-06 07:40:44

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Text-Based Scratch

seems cool! it would also be cool if you could click 'test' in text mode to make sure you typed it in correctly.


the the the the the

Offline

 

Board footer