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

#1 2007-05-17 00:33:17

logain64
Scratcher
Registered: 2007-05-17
Posts: 1

Speed Increase

I want to increase the speed of a sprite by a certain number of steps per mouse click, anyone know how or have any suggestions?

Offline

 

#2 2007-05-17 08:38:36

rszrama
Scratcher
Registered: 2007-05-15
Posts: 25

Re: Speed Increase

You should use a variable to hold the current sprite's speed.  Then, when the mouse is clicked (or whatever else happens), you can just increase or decrease that variable.  If the movement routine is using this variable, the sprite will speed up/slow down accordingly.

Offline

 

Board footer