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

#1 2012-03-08 16:27:28

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Help with sensing

Hi, I am trying to make the sensing work better for this project: http://scratch.mit.edu/projects/JcpoppTest/2380110  The details are in the project notes. Thank you!


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#2 2012-03-08 16:41:55

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Help with sensing

I know the problem! (I think) Some of the cars glide past the finish line to their spot, then when they reach their spot, the cars stop because they are touching the finish line. I suggest making a different speed variable for each of the cars, then have for each of the cars(sorry I don't know how to use scratchblocks quickly) When I recieve race, forever, set speed (car #) to pick random 1-8, then have a repeat block maybe 10 times, and inside of that, have if not touching finish line, else. Under if, have change x by speed (car #), under else, have stop script. Do that for each car, and you should be good!  smile


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#3 2012-03-08 16:46:40

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Re: Help with sensing

Ok I think i know what you are getting at.  I will try this method and thanks for the help!  smile


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#4 2012-03-08 17:03:36

jcpopp
Scratcher
Registered: 2010-10-30
Posts: 100+

Re: Help with sensing

This worked perfectly!!!!  Thanks so much!  big_smile


Join Nitro Type! It really improves your typing skills  big_smile

Offline

 

#5 2012-03-08 17:14:08

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Help with sensing

jcpopp wrote:

This worked perfectly!!!!  Thanks so much!  smile

Anytime  smile


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#6 2012-03-08 17:27:31

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Help with sensing

Closed by request.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer