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

#51 2013-01-27 16:34:00

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: Real Code Generator

I get what veggieman is saying (I think). the show block is more than just a single word, it's many lines of code that explain what "show" is to the computer. It's not as simple as a single word at all.


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#52 2013-01-27 17:08:17

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Re: Real Code Generator

bullelk12 wrote:

It's not as simple as a single word at all.

Yup, that's always been true.
However, it's still worthwhile to allow people to begin to understand the true difficulty and potential results of their programming. Scratch was indeed created for beginners, but it would be quite possible to simply ignore any text-based options if you don't understand them.


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&action=onlineStatus~ On my mind: Unicameralism

Offline

 

#53 2013-01-27 17:12:05

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: Real Code Generator

Yep, I still think it would be good to add. Just, with a few boundaries.


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#54 2013-01-29 22:55:15

prothatweighsagram
New Scratcher
Registered: 2013-01-29
Posts: 9

Re: Real Code Generator

I agree that there should be some button that you can use to switch back and forth between the two formats. although scratch should be easy for beginners, for people who are used to java and stuff, but can't get the tech to make somthing nice, scratch would help if that feature was avaliable.

but for people who don't know the basic script, it would take longer because they don't know what to type to tell the computer what to do

Offline

 

#55 2013-01-30 08:03:38

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Real Code Generator

Python is a cool alternative to Scratch, and it's actually a lot like text based Scratch. Easy to learn, too.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#56 2013-02-04 14:59:22

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Real Code Generator

OverPowered wrote:

text-based coding can be useful for long scripts, uploading scripts, and teaching potential programmers to understand text-based coding.

I can't help you with converting to flash code; but if you just mean a text-based version of the blocks used in Scratch, then try kurt. It's a working compiler/decompiler that can convert Scratch projects to and from the scratchblocks syntax used on the forums.

I'm not sure how a text-based language would help you transition from Scratch to "proper" languages — and Kurt uses the same text as found on the actual Scratch blocks themselves, like the forum block plugin does — but it certainly gives you advantages (1) and (2): you can use copy/paste, tools like find/replace, and have all the power of plain text.  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#57 2013-04-06 01:50:51

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Real Code Generator

OverPowered wrote:

I would definitely support an option to code Scratch via text instead of blocks, for a multitude of reasons.

1. Huge scripts
Sometimes, projects, especially 1s1s, can grow a script so long that it crashes Scratch or makes edits impossible. When one sees projects such as coolstuff's Path Finder, it quickly becomes apparent that block-based scripts can sometimes be unwieldy. Text avoids this, and would help slower computers greatly.

See M30W.

2. Transport of Scripts
Scratch scripts can never be posted directly onto the forums, comments, or anywhere, but must be typed out with the forum equivalent of Scratch code or go through an image hosting site. If a text-to-code mode existed, it would be a matter of cutting and pasting between pojects or onto the website.

LS97 has made an excellent blocks-to-[scratchblocks] converter. Look in his sig.

3. Education
Unfortunate as it may seem, not all programming is done with colorful blocks. Scratchers must learn this, and begin to move towards lines of text if they ever want to advance to more powerful coding.

See reply to 1.
EDIT: Did i really need to bring this up?  hmm

Last edited by MrFlash67 (2013-04-06 01:51:57)


Who would win, SOPA or PIPA?

Offline

 

Board footer