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

#1 2012-03-06 19:46:43

MathMaster101
Scratcher
Registered: 2011-10-29
Posts: 100+

how do i make a sprite glide 10 steps by just having to press one key

how do i make a sprite glide 10 steps by just having to press one key


https://sphotos.xx.fbcdn.net/hphotos-snc6/c39.0.403.403/p403x403/196165_191956434263692_1014187386_n.jpg

Offline

 

#2 2012-03-06 19:55:02

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: how do i make a sprite glide 10 steps by just having to press one key

I'm confused. What do you mean?

Offline

 

#3 2012-03-06 19:56:01

MathMaster101
Scratcher
Registered: 2011-10-29
Posts: 100+

Re: how do i make a sprite glide 10 steps by just having to press one key

ImagineIt wrote:

I'm confused. What do you mean?

never mind, i figured it out. maybe not. If i think i didn't figure it out correctly then i'll re-ask the question again in this same forum post


https://sphotos.xx.fbcdn.net/hphotos-snc6/c39.0.403.403/p403x403/196165_191956434263692_1014187386_n.jpg

Offline

 

#4 2012-03-07 15:45:54

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

Re: how do i make a sprite glide 10 steps by just having to press one key

You can't because when you glide it has to go a certain distance.  For example, if you glide 1 second to a spot like three feet away from ou then glide to a place 5. Feet away, the five feet is quicker. Now, to move, what you do is
[blocks]
<When key <( right)> pressed
Repeat (number of times) times
<change x by 2>
[/blocks]

Last edited by turkey3 (2012-03-07 15:46:51)

Offline

 

Board footer