I just started to play Scratch in Windows 1 day ago. It works fine. Here my question is - how can I find a panel to write scripting code in Scratch rather than just drag/draw/click the blocks to run the program or automation.
I guess Scratch should provide an easy scripting language on top of Java, so that people like me (a typical programmer) could write the code (in any edit tool) as usual then execute the code. Drag/draw way for sure is great but writing scripting-code would be a plus.
Appreciate anyone sharing the answer or relevant resource.
Offline
Charles_2006 wrote:
I just started to play Scratch in Windows 1 day ago. It works fine. Here my question is - how can I find a panel to write scripting code in Scratch rather than just drag/draw/click the blocks to run the program or automation.
I guess Scratch should provide an easy scripting language on top of Java, so that people like me (a typical programmer) could write the code (in any edit tool) as usual then execute the code. Drag/draw way for sure is great but writing scripting-code would be a plus.
Appreciate anyone sharing the answer or relevant resource.
scratch only supports drag and drop editing. Soon there may be a text IDE for scratch which uses this
but for now only drag and drop editing is possible
Offline
There is a suggestion for a "text-based Scratch" though. The main problem is that it isn't very kid-friendly (as Snowdrift said). If you want to program in Java, I suggest programming in an environment specific to Java. Scratch is really meant as an introduction to programming, not as a way to web together different programming languages.
Offline
As i know about scripting code that You can write a script code by first determining which kind you want to run. The two more common types of script are called "JavaScript" and "Visual Basic," or "VB" script. Learning these light programming languages is almost like learning a foreign language. Each has rules to follow, and with a little practice, you'll be able to write a script code skillfully and after practicing many time you are able to write scripting code professionally.Hope you guys understand it
that what is the basic term use in writing scripting code.
Offline
I posted a suggestion on the Scratch suggestions page a few days ago that there be support for text-to-script conversion and vice versa. But I haven't heard back yet.
Anyway, here's the link: Text-to-Blocks Suggestion
I support a text-based option in Scratch, since I'm used to programming in C# in the Visual Studio IDE.
Last edited by amcerbu (2012-04-10 00:23:21)
Offline
Lightnin already commented on this here.
Offline