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

#1 2012-05-27 13:14:53

masheenpro
New Scratcher
Registered: 2012-05-26
Posts: 4

making sprites go left

how do you make your sprite go left? i try move 10 steps but it didn't work

Offline

 

#2 2012-05-27 13:16:24

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: making sprites go left

Use this block

Change x by (-2) //number can vary
Negative numbers make it go left. And this block in under motion.

Offline

 

#3 2012-05-27 17:35:08

sanjayraj
Scratcher
Registered: 2012-03-25
Posts: 500+

Re: making sprites go left

You could do something like this:

when gf clicked
forever
if key (left arrow) pressed
change x by (-2)


http://i46.tinypic.com/23sw40j.png

Offline

 

#4 2012-05-28 07:42:40

chipguy
Scratcher
Registered: 2009-09-09
Posts: 500+

Re: making sprites go left

the move block is for just moving in the direction you are facing. since the sprite will start out facing right, you'll move to the right.


http://scratch.mit.edu/static/projects/chipguy/2919121_sm.png by yours truly  big_smile

Offline

 

#5 2012-05-28 11:53:43

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: making sprites go left

If you want it to go left while facing right, then have it move -number of steps. If you want it to face left, then either use the little bar on the picture of the sprite near the top of the program, or use the pont in direction -90 block, then move number of steps.  smile


Why are the secret organizations getting all the attention?  mad

Offline

 

#6 2012-05-28 15:26:35

wasabi56
Scratcher
Registered: 2012-02-10
Posts: 500+

Re: making sprites go left

sanjayraj wrote:

You could do something like this:

when gf clicked
forever
if<key [left arrow v] pressed?>
change x by (-2)

Fixed  smile


http://i.picasion.com/pic58/c23d4d2fc75f459dcf3d9ebf3e8ba395.gif
http://www.weebly.com/uploads/1/0/1/4/10146167/2294523_orig.png

Offline

 

Board footer