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

#1 2010-02-21 20:31:43

poppypaynterscratch
Scratcher
Registered: 2009-09-20
Posts: 100+

scrode coding

"if"
r- if key right pressed
l- if key left pressed
u- if key up pressed
d- if key down pressed
s- if key space pressed
n- null, no if always does no matter what
"movement"
s###- step
p###- point
x###- set x
y###- set y
c###- change x
v###- change y
other_-_
fvr- forever, rest of script
w###- wait seconds
clear- clear the list
esc- stops the code
execute- runs the code


example codes-
fvr
lp-90
rp090
up000
dp180
ns010
execute
------------
heres a better explanation, as it was asked for.

R -> if key right pressed
P -> point in direction
090 -> the direction it points in, so this would be;]

rp090

this is how it works for all commands
-------------

change x change y set x and set y will be on version 0.2

here is the project-  http://scratch.mit.edu/projects/poppypaynterscratch/899059

heres version 0.2- http://scratch.mit.edu/projects/poppypaynterscratch/900329

Last edited by poppypaynterscratch (2010-02-25 18:28:23)


http://i33.tinypic.com/2dw6hxv.gif

Offline

 

#2 2010-02-24 09:35:26

jake451998
Scratcher
Registered: 2009-04-01
Posts: 100+

Re: scrode coding

Can you make the tutorial thicker please?

Offline

 

#3 2010-02-25 18:48:41

poppypaynterscratch
Scratcher
Registered: 2009-09-20
Posts: 100+

Re: scrode coding

jake451998 wrote:

Can you make the tutorial thicker please?

is it better now?


http://i33.tinypic.com/2dw6hxv.gif

Offline

 

Board footer