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

#1 2013-01-30 13:46:15

susdi
New Scratcher
Registered: 2013-01-29
Posts: 5

no script will play

HI, I'm new and following the very first tutorial.  If I drag the "move 10 steps" control to the stage and click it, the toon take one step.  If I add the play drum as the tutorial says, I hear one drumbeat and take one step. Changing the number of steps, adding more commands to go fwd and back, putting them in a repeat forever loop and adding when green flag clicked command... nada.

Tried all kinds of things, but basically, I get no continued motion.  Since this is my very first try with Scratch, I'm kinda stuck. I can see how it's supposed to work and think it's cool but I'm frustrated that I can't do anything.  I'm hoping I have some setting wrong or a program that is in conflict and that there's a fix that will let me play. Right now it is a total dud for me.  Thx. Susdi on a Mac OSX

Offline

 

#2 2013-01-30 14:09:06

iaoumeur
Scratcher
Registered: 2012-11-24
Posts: 500+

Re: no script will play

when gf clicked
forever
  move [10] steps
  end
This will make it repeat FOREVER. Hope this helps!  big_smile


The Dot 3 is out!!! Play it here!

Offline

 

#3 2013-01-30 18:00:43

susdi
New Scratcher
Registered: 2013-01-29
Posts: 5

Re: no script will play

Thanks for replying iaoumeur but I'm still stuck. The forever command shouldn't be the ONLY way I can get the scratch to play.

According to the tutorial, if I drag this onto the stage, and click it, I should go 10 steps. Right?

move [10] steps
That's what the tutorial says should happen.  Instead, I take one step.

If I do what you say, I can get it to move to the end forever, but if I add another command the way the tutorial says, nothing happens when I click the green flag, nothing happens when I click the scratchblocks, nothing happens.

when gf clicked
forever
move [10] steps
move [-10] steps
Am I missing something?

Offline

 

#4 2013-01-30 18:31:07

rpglurker
New Scratcher
Registered: 2013-01-17
Posts: 24

Re: no script will play

move 10 steps means it takes a step that is 10 pixels long...if you want to do that multiple times you have to put it in a loop....10 steps is a single move 10 pixels long

Offline

 

#5 2013-01-30 18:34:51

rpglurker
New Scratcher
Registered: 2013-01-17
Posts: 24

Re: no script will play

for example: try stringing together several 10 step moves

when gf clicked
move [10] steps
move [10] steps
move [10] steps
move [10] steps
move [10] steps
move [10] steps

Offline

 

#6 2013-01-30 18:38:56

rpglurker
New Scratcher
Registered: 2013-01-17
Posts: 24

Re: no script will play

oh, and you can put pauses between the steps with a wait block, or you can change costumes on your sprite like a flip book to create animation...like a picture with a leg up and another with the leg down...then if you switch between them it will look like animation.  There are samples like a bat flapping wings and stuff...try one out...

Offline

 

#7 2013-01-30 18:46:46

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: no script will play

susdi wrote:

Thanks for replying iaoumeur but I'm still stuck. The forever command shouldn't be the ONLY way I can get the scratch to play.

According to the tutorial, if I drag this onto the stage, and click it, I should go 10 steps. Right?

move [10] steps
That's what the tutorial says should happen.  Instead, I take one step.

If I do what you say, I can get it to move to the end forever, but if I add another command the way the tutorial says, nothing happens when I click the green flag, nothing happens when I click the scratchblocks, nothing happens.

when gf clicked
forever
move [10] steps
move [-10] steps
Am I missing something?

"move 10 steps" plus "move -10 steps" equals "do nothing".


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#8 2013-01-30 18:52:59

Smozzick
Scratcher
Registered: 2011-10-23
Posts: 100+

Re: no script will play

Figured I'd give my 2 cents as well.

Steps are a measure of distance rather than how many times it moves.

move [10] steps
This block moves you character once a distance of 10 steps.

move [10] steps
move [-10] steps
By putting this you are saying "Move once 10 steps then move once -10 steps". This is the same as 0 steps and will not be a visible movement unless you have a pause between the blocks such as
wait [0.5] secs


http://i50.tinypic.com/ded8m.png

Offline

 

#9 2013-01-30 20:27:02

susdi
New Scratcher
Registered: 2013-01-29
Posts: 5

Re: no script will play

thanks folks for this.  The instructions in the tutorial is what I am following in building this and it did not make it as clear as all of you.  I will try this.  Thanks to all who helped me understand.

Offline

 

#10 2013-01-30 22:13:03

dusty22
Scratcher
Registered: 2012-09-28
Posts: 49

Re: no script will play

Yeah, remember to put tiny waits between certain things. If you say move 10 steps, then -10 steps, without any wait, it'll do it so fast you can't see it.

Offline

 

Board footer