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

#1 2011-11-12 11:42:15

HikerRunner
Scratcher
Registered: 2011-11-12
Posts: 5

How do I stop movement?

How do I make my sprite stop moving?
Thanks.

Offline

 

#2 2011-11-12 11:45:36

Lar-Rew
Scratcher
Registered: 2010-02-19
Posts: 100+

Re: How do I stop movement?

Don't tell it to move.  smile   If it is gliding, I'm not sure you can.

Offline

 

#3 2011-11-12 11:48:46

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How do I stop movement?

You could use variables.

When green flag clicked
Forever
If 'variable' = 0
Move 5 steps
End if
If whatever you want to happen to cause it to stop moving
Set 'variable' to 1
End if
End forever

smile


Why

Offline

 

#4 2011-11-12 11:50:32

HikerRunner
Scratcher
Registered: 2011-11-12
Posts: 5

Re: How do I stop movement?

It's walking- Like:
[blocks]
<when[ space ]key pressed>
<go to x sad   )y sad 
<point in direction(
<repeat until>
<move(  )steps><wait(  )secsc>
[/blocks]

Offline

 

#5 2011-11-12 11:56:44

HikerRunner
Scratcher
Registered: 2011-11-12
Posts: 5

Re: How do I stop movement?

RedRocker, I see what you are saying. That could probably work.

Offline

 

#6 2011-11-12 12:02:31

HikerRunner
Scratcher
Registered: 2011-11-12
Posts: 5

Re: How do I stop movement?

Also, my game won't start on the first level and I can't figure out why. Any ideas why?

Offline

 

#7 2011-11-12 12:07:06

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How do I stop movement?

HikerRunner wrote:

Also, my game won't start on the first level and I can't figure out why. Any ideas why?

Could you upload the project so we could see the scripts you're using?


Why

Offline

 

#8 2011-11-12 12:11:23

HikerRunner
Scratcher
Registered: 2011-11-12
Posts: 5

Re: How do I stop movement?

When I fixed the other problem that one somehow fixed itself too. I have no idea.
And it was the Dog Jump game I have.

Offline

 

Board footer