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

#1 2012-07-21 04:04:15

maayax
New Scratcher
Registered: 2012-06-04
Posts: 6

Make a sprite speed up?

Sorry I created a post about this before but I have another question. So my game is like the nyan cat game where there are those asteroids that gradually speed up as you progress through the game. How would you make a script for the 'asteroids'? When i previously asked this question before, I was given this link to go to http://wiki.scratch.mit.edu/wiki/Velocity but my asteroids move by themselves without having to press any keys. Sorry if this is confusing but if you don't understand, just search up nyan cat game and watch as the asteroids and other objects speed up to make the game harder. Thanks!

Offline

 

#2 2012-07-21 09:46:11

maayax
New Scratcher
Registered: 2012-06-04
Posts: 6

Re: Make a sprite speed up?

Please Help

Offline

 

#3 2012-07-21 10:15:13

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Make a sprite speed up?

I'll take a look.

EDIT: Can't find the game.

Last edited by SciTecCf (2012-07-21 10:22:07)


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#4 2012-07-21 10:17:36

daniel_j
Scratcher
Registered: 2012-05-22
Posts: 100+

Re: Make a sprite speed up?

ok, easy fix. Instead of forever if key pressed, change it to forever, that will make it happen by itself, but only use the one that you need. do you get it?
Use this

when gf clicked
forever
change [speed v] by (-1)
instead of this
when gf clicked
if (key [left arrow v] pressed?) 

change [speed v] by (-1)
I hope I helped  smile

Last edited by daniel_j (2012-07-21 10:23:26)


http://i50.tinypic.com/2dhgnsx.jpg

Offline

 

#5 2012-07-22 01:13:32

maayax
New Scratcher
Registered: 2012-06-04
Posts: 6

Re: Make a sprite speed up?

Thank you so much daniel_j!!!!

Offline

 

Board footer