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

#1 2010-11-17 00:52:40

camero
New Scratcher
Registered: 2010-11-17
Posts: 2

increase speed

hi i'm stefano,

i would like to know how to increase the speed of something?

Offline

 

#2 2010-11-17 01:11:26

2l84zwamani
Scratcher
Registered: 2010-09-27
Posts: 100+

Re: increase speed

Hi and welcome to Scratch!

I'm assuming you would want something like this. Make a variable called "Speed", and then put this in the guy you want to move:

move (Speed) steps

And once something happens

change Speed by 3

Or maybe change y/x by (Speed). Sorry if my explanation is a bit poo-ish, but can you please explain more?  smile

Last edited by 2l84zwamani (2010-11-17 01:12:01)


I will be a Ms. Pickle Dr. Deadpebble Great Person <forever>
http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3 GROB THE SLIME WILL TAKE OVER THE WORLD!

Offline

 

#3 2010-11-17 02:01:57

Anreg
New Scratcher
Registered: 2010-10-21
Posts: 2

Re: increase speed

Yep, I don't exactly know what you mean by "speed," do you mean the overall speed of the game, or how fast your sprites move?

Or are you talking about velocity for a sprite?

Offline

 

#4 2010-11-17 02:55:51

subzerostig
Scratcher
Registered: 2010-09-08
Posts: 100+

Re: increase speed

Anreg wrote:

Yep, I don't exactly know what you mean by "speed," do you mean the overall speed of the game, or how fast your sprites move?

Or are you talking about velocity for a sprite?

Well think about it like this: If you have a game where if you touch the edge then your sprite bounces and speeds up then you need something like this:

<when green flag clicked>
<set{ speed  }to( 0 )
<forever>
<move(<{ speed  }>  )steps>
<if <touching[edge] >
<change{ speed  }by( 1 )
<end>
<if on edge, bounce>
<end>

hope it helps!!!

Last edited by subzerostig (2010-11-17 02:56:03)


There are 10 types of people people in this world, those that understand binary and those that do not: My latest Project: Present catcher V2                          06/12/2012

Offline

 

Board footer