could you help me with a scratch block to JavaScript converter project?
Könntest Du mir bitte bei einem Scratch2JavaScript Projekt helfen?
(link to project)
wow, really cool! I Learned a little
bit of HTML, But xml is a bit new to
me.
hey, you are the creatpr pf byob, eh?
i saw your alpha and beta version of
byob 3.1, and one thing that i found not soo cool was
the object input when make blocks, would be better a combo box input, where you can make lists, that are the options in the combo boxes. Or color inputs.
Instructions for 1.4:
Open this project in scratch
Shift-click on the r in the scratch logo
Click turn fill screen off
Click in the white area under scratch
Follow the instructions in this project
At the end instead of shift-clicking extras, shift-click the r in the scratch logo instead
Click save image for end-user
Hi Jens, when I open that project in the source code image there's no text in the unconnected think block. When I click on it the error debug comes up. So I can't copy it to the workspace. The problem appears as well in actual Scratch 1.3.1. How can I fix the problem?
Hi Thilo, the code in this project refers to an old version of Scratch (1.2) and is no longer compatible with Scratch 1.3 or later. If you would like to try it nonetheless it is also part of Chirp and integrated in the chirp.remix image. So you might want to download that one (try the files-only version). If you would like to port the code to newer versions of Scratch it's also posted on SqueakMap. BTW I'm almost done porting it myself :-)
For some reason, when I open the workspace and press "Crtl+V", it says to enter my initials. I do that and it says my initials and then the time. What's wrong????
It wasn't as hard as it may look. I already had my XML DOM/Parser module (the code of a Smalltalk class) ready for reuse from other projects I had done in Squeak, so all I had to do was to configure it to handle Scratch Scipts
Jens- Do you think you can perhaps make projects that stimulate "Peacefulness" for my gallery??? So far, mine is not looking so good because I am creating all my projects except 1! *Boo Hoo*
No, maxsteele2, Squeak doesn't use the standard keyboard shortcuts of MS Windows, but has its own ones. In Squeak you actually use "alt-a" to select all, and "alt-c" to copy the selected text to the clipboard. (If you're using a Mac you use the cmd-key instead of alt). BTW that's another "Scratch-secret"...
I don't have enough knowledge to properly comment this project, but I can recognize an excellent tool when I see it. BRAVO, Jens! "Flip" was good already; "XML" is great. I love it.
you know that is a bralliant alternitive to programming on squeak but yet you can use your project for multi purposes, or in reverse maybe you could make string variables using squeak and convert it.
Download the 3 sprites and 16 scripts of "xml" and open it in Scratch
Project Notes
- caution: experimental -
this project includes a patch which lets you export scripts (blocks and stacks) into editable text files using an XML format, and import such XML files as scripts back into Scratch.
It also tells you how to install this patch into the officially published Scratch source code version. 1.2.1
The XML format produced by this patch is translation independent and should work with any national language you select in Scratch. It also works with any old ('obsolete') blocks of previous Scratch versions, but not with the comment block of the v.1.2 BETA.
This patch will not break any compatibility. Any projects created using its features will also work online.
Note: This is really only suitable and useful for experienced Squeak hackers.
Feel free to use and modify the source code of this patch anyway you like.
Comments
You need to be logged in to post comments
Add a Comment
I fixed mine, its cuz I was using scratch rather than the source code. XD I did it a long time ago...
could you help me with a scratch block to JavaScript converter project? Könntest Du mir bitte bei einem Scratch2JavaScript Projekt helfen? (link to project)
complicated
wow, really cool! I Learned a little bit of HTML, But xml is a bit new to me. hey, you are the creatpr pf byob, eh? i saw your alpha and beta version of byob 3.1, and one thing that i found not soo cool was the object input when make blocks, would be better a combo box input, where you can make lists, that are the options in the combo boxes. Or color inputs.
Have you got a dtd for this?
it almost killed my poor computer.
Partially works with 1.4. I can export scripts just fine, but importing does not work, the option doesn't show up.
Dragging the XML file into the window does not work.
Well... I've got it half working, I can export and edit, just not import... Let it be noted that I did this with Panther 1.0 for an experiment.
Hey jens... How do you use the squeakmap file?
Jens are you still alive?
yep! very much so, but I'm terribly busy with paid work and with preparations for BYOB 4 at the moment :-)
It will let me export but it wont import the block afterwards!
when i right click it doesn't have import a script, i am using 1.4
Instructions for 1.4: Open this project in scratch Shift-click on the r in the scratch logo Click turn fill screen off Click in the white area under scratch Follow the instructions in this project At the end instead of shift-clicking extras, shift-click the r in the scratch logo instead Click save image for end-user
What about 1.4?
Can You Make One For The New Version?
Please Don't Join Th- *ahem* Please don't join the capital lover's group.
(view all replies)can i run my scratch projects into ms VB 2008 ex that means 2 add better animation!!! yay
can't open squeak workspace but have squeak installed. please help me!
Hi Jens, when I open that project in the source code image there's no text in the unconnected think block. When I click on it the error debug comes up. So I can't copy it to the workspace. The problem appears as well in actual Scratch 1.3.1. How can I fix the problem?
Oh, I just looked into the downloaded project, and the code is still there...
Hi Thilo, the code in this project refers to an old version of Scratch (1.2) and is no longer compatible with Scratch 1.3 or later. If you would like to try it nonetheless it is also part of Chirp and integrated in the chirp.remix image. So you might want to download that one (try the files-only version). If you would like to port the code to newer versions of Scratch it's also posted on SqueakMap. BTW I'm almost done porting it myself :-)
(view all replies)Have made a scripts Index [url=https://mail.google.com/mail/?ui=2&ik=403f481a7f&view=att&th=11f3bb166f6da814&attid=0.1&disp=attd&zw]Here[/url]
you can't use BBCodes out of the forum.
(view all replies)it worked
i did it in regular scratch using the error debug
how do you get the squeak window?
How do you get the "World Menu" on Scratch 1.3?
Just (right) click anywhere on the white background within the Scratch/Squeak window
will you make a how to get a block that says [< > then { } secs has passed then < >]
wait until <> wait () secs if <>
i made a WORKING block that says [when < > is true] instead of [when flag clicked][forever if < >]
can you tell me how! i HAVE BEEN TRYING TO GET IT TO WORK FOR DAYS!
I know, is it (if H -)?
its because i did (WARNING DO NOT USE THIS BLOCK c &)
i made a new block exported then imported it said WHEN GREEN FLAG CLICKED, ()-()
i made one with : XML, options & scroll (but scrool doesnt work)
For some reason, when I open the workspace and press "Crtl+V", it says to enter my initials. I do that and it says my initials and then the time. What's wrong????
do alt+v
(view all replies)th image file is the source code.image
it works! by the way dont insert lists into chirp insert lists and files for scratch lists in chirp
Wow! I got it to work! OMG!!
how do you figure this stuff out?
It wasn't as hard as it may look. I already had my XML DOM/Parser module (the code of a Smalltalk class) ready for reuse from other projects I had done in Squeak, so all I had to do was to configure it to handle Scratch Scipts
you are a really great squeak hacker
this is you're most usefull invention yet!
(but it's already in chirp.)
Hey, Question: Can you make a custom save block? I can't seem to get the Source Code up...
in fact, I have done just that. Check out my Lists and Files prototype at: http://chirp.scratchr.org/blog
(view all replies)Jens- Do you think you can perhaps make projects that stimulate "Peacefulness" for my gallery??? So far, mine is not looking so good because I am creating all my projects except 1! *Boo Hoo*
I posted another comment on your chirp blog in scratch2exe.
a pink box thingy pops up and it doesnt work O_o
thnx! but whats ctrl do?
No, maxsteele2, Squeak doesn't use the standard keyboard shortcuts of MS Windows, but has its own ones. In Squeak you actually use "alt-a" to select all, and "alt-c" to copy the selected text to the clipboard. (If you're using a Mac you use the cmd-key instead of alt). BTW that's another "Scratch-secret"...
so you use the default in mac
and ctrl-a
nope
u mean ctrl-c
no
pleez click the love it button if you like it
scratch.mit.edu/projects/dingdong/91969
I don't have enough knowledge to properly comment this project, but I can recognize an excellent tool when I see it. BRAVO, Jens! "Flip" was good already; "XML" is great. I love it.
i didnt even know u could do that!! Dankt Jens
Krüpelli!
selba Krüpelli!
????????????????????????????????????????????
(link to project)
Ok. I found it in http://scratch.mit.edu/pages/source
I couldn't find how to run a source code image? Can someone tell please...
Well, now that this is Top Loved, you have to add another Level!
I DIDN'T NO THIS WAS EVEN POSSIBLE! ITS AWESOME!!
well, not anything
(view all replies)i did anythings posble in smaaltalk----80
(view all replies)yah uh... yah? wha?
what?
(link to project)
you know that is a bralliant alternitive to programming on squeak but yet you can use your project for multi purposes, or in reverse maybe you could make string variables using squeak and convert it.
whoa
sweet
This should be featured!
(link to project)