ScratchData LogoScratchData
Back to zorket's profile

Scratch Code

ZOzorket•Created April 10, 2013
Scratch Code
7
7
281 views
View on Scratch

Instructions

Scratch code starts with a command, like move, or turnRight. Some of the commands may not use inputs, but if they do, you have to put in a () after it to represent the number input. For example, to make scratch move ten steps, you use the code move(10). Currently, Scratch Code does not support booleans, reporters, loops, or multi-input tasks. It runs from one thing to the next. Here is a total list of commands: move() - move (10) Steps turnRight() - turn right (15) degrees turnLeft() - turn left (15) degrees pointDirection() - point in direction (90) goToMouse - go to mouse pointer changeXBy() - change x by (10) setXTo() - set x to (0) changeYBy() - change y by (10) setYTo() - set y to (0) bounceOnEdge - if on edge, bounce say() - say [Hello!] think() - think [Hmm...] show - show hide - hide switchCostumeTo() - switch costume to [cat1-a] nextCostume - next costume switchBackdropTo() - switch backdrop to [backdrop 1] changeColorBy() - chance color effect by (25) setColorTo() - set color effect to (0) clearEffects - clear graphic effects changeSizeBy() - change size by (10) setSizeTo() - set size to (100) % goToFront - go to front goBack() - go back (1) layers waitSecs() - wait (1) secs playSound() - play sound [meow] playSoundAndWait() play sound [meow] until done stopAllSounds - stop all sounds playDrum() - play drum (1) for (0.2) beats rest() - rest for (0.2) beats playNote() - play note (60) for (0.2) beats setInstrumentTo() - set instrument to (1) penDown - pen down penUp - pen up clear - clear stamp - stamp setPenColorTo() - set pen color to (0) changePenColorBy() - change pen color by (10) setPenShadeTo() - set pen shade to (50) changePenShadeBy() - change pen shade by (10) setPenSizeTo() - set pen size to (1) changePenSizeBy() - change pen size by (1) setVolumeTo() - set volume to (100) % changeVolumeBy() - change volume by (-10) setTempoTo() - set tempo to (60 changeTempoBy() - change tempo by (10)

Description

I made this out of boredom. Scratch code is a text-based programming reader similar to Lua. Inside is built-in code, in the code list, you can modify it's contents to change the way this project runs.

Project Details

Project ID10107558
CreatedApril 10, 2013
Last ModifiedAugust 26, 2013
SharedApril 10, 2013
Visibilityvisible
CommentsAllowed