ScratchData LogoScratchData
Back to AonymousGuy's profile

Scripts Drawn With the Pen V2

AOAonymousGuy•Created December 23, 2013
Scripts Drawn With the Pen V2
30
12
706 views
View on Scratch

Instructions

UPDATE: Zambonifofex made a great project that converts scratchblocks format scripts into this! http://scratch.mit.edu/projects/16087525/ Turbo mode for turbo rendering! Same as old one (Actually much better), except now, after initial script rendering, you can press space to render your own script! And soon I might have to update with a little script that will tell you how to write a block when you input everything that should go in it. To write a script: first, place the category of the block in front of your block, like so: motion-move ten steps Next, add a semicolon to your block: motion-move ten steps; But, if you want a C-Block (They have to be control), add a "{" instead. control-forever{ To close a C-Block, use a "}". For inputs, use parentheses: motion-move (10) steps; and to get colors for inputs, add their category after a % sign: motion-move (%variables-x) steps; For inputs at the end of a block, add a space before the ";" or "{" because the rendering engine will make the input box 3-sided because of how I wrote it. For variable, list, more blocks, and more blocks parameter blocks, use the following categories: variables lists more blocks parameters To make a block into a hat block, add the following at the beginning: "*Hat." (Yes, include the period.) So then green flag clicked will look like this: (I'm sorry that I don't have green flag rendering) *Hat.events-when gf clicked; Then, after you figure it out, type space, type in your code, and watch it render!

Description

Thanks to http://scratch.mit.edu/projects/11748014/ which inspired me to do this! Also thanks to Zambonifofex for making the scratchblocks-to_this_format converter! (It's in the project linked at the top :P) Come on? Feedback? Anything? Well, if you are too lazy to come up with scripts, here are some: 1. *Hat.events-when I receive (blankmessage v) ;control-forever{motion-move (%operators- (%variables-x) + (%variables-y)) steps;} 2. *Hat.events-when gf clicked;variables-set (variable) to (1) ;control-repeat until (%operators-(%variables-variable) = (20)) {motion-move (%variables-variable) steps;variables-change (variable) by (1) ;} 3. *Hat.events-when gf clicked;lists-delete all of (list) ;lists-add (nothing) to (list) ;variables-set (var) to (1) ;control-forever{control-forever{control-repeat until (%operators-(%operators-join (%variables-var) (hello)) = (20hello)) {motion-move (%variables-var) steps;control-if (%operators-(%operators-(%variables-var) + (20)) = (%operators-(%variables-var) * (20))) {looks-switch costume to (%lists-item (1) of list) ;looks-change (ghost) effect by (%variables-var) ;}variables-change (var) by (1) ;}}}

Project Details

Project ID15989796
CreatedDecember 23, 2013
Last ModifiedJanuary 2, 2014
SharedDecember 23, 2013
Visibilityvisible
CommentsAllowed