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

#1 2010-06-08 12:55:16

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

I Need Help!

So I'm doing a school project for probability and stuff.
I need help. I have a spinner and I want it to detect a direction in a list it's close to, and move to that direction. The directions in order is in the list Position Possibilities. The ones messed up in in the list Position.
I know:
scmb1
MathWizz
nxIII
The-Whiz
Maybe more
can do it, So help? Thanks!


Hai.

Offline

 

#2 2010-06-08 12:58:24

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: I Need Help!

I'll move this over to All About Scratch...  smile

As for your problem... No idea - sorry...  hmm


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#3 2010-06-08 12:59:29

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: I Need Help!

K thanks. I thought I would get more people in Misc.  wink   wink


Hai.

Offline

 

#4 2010-06-08 13:06:36

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: I Need Help!

I'm working on it...

So, to make sure I understand your problem correctly, do you want to find the angle on the list "Position Possibilities" that is closest to the actual angle of the spinner and then move the spinner to that direction?


http://i48.tinypic.com/2z5pqad.png

Offline

 

#5 2010-06-08 13:28:32

scmb1_prime
Scratcher
Registered: 2010-05-17
Posts: 10

Re: I Need Help!

If that is what you wanted, I made you a project to demonstrate: http://scratch.mit.edu/projects/scmb1_prime/1108639

(I am scmb1, by the way  tongue  )

Last edited by scmb1_prime (2010-06-08 13:28:43)

Offline

 

#6 2010-06-08 15:03:32

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: I Need Help!

scmb1 wrote:

I'm working on it...

So, to make sure I understand your problem correctly, do you want to find the angle on the list "Position Possibilities" that is closest to the actual angle of the spinner and then move the spinner to that direction?

Exactly. Thank you so much!  smile


Hai.

Offline

 

#7 2010-06-09 14:07:53

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: I Need Help!

It works on yours, but not on mine. Thanks anyways.  smile  I have an idea for it,


Hai.

Offline

 

#8 2010-06-09 14:19:49

chum11
Scratcher
Registered: 2010-06-09
Posts: 2

Re: I Need Help!

i got a question how u put music on your project

Offline

 

#9 2010-06-09 16:25:31

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: I Need Help!

chum11 wrote:

i got a question how u put music on your project

Click the sounds tab and press the "Import" button. Hope that helped  smile

However, it should be noted that this belongs in a separate thread. Try not to post your questions in other people's threads, but otherwise make your own. It's easier to find your posts that way  smile

Offline

 

#10 2010-06-09 16:40:26

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: I Need Help!

fg123 wrote:

It works on yours, but not on mine. Thanks anyways.  smile  I have an idea for it,

Hmm... Now I'm curious- what doesn't work?


http://i48.tinypic.com/2z5pqad.png

Offline

 

#11 2010-06-09 20:41:42

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: I Need Help!

For some reason, it doesn't go to the nearest, it just goes to a specific one. I'm going to try something else for now. Wait, I have an idea, gimme a second to try this.


Hai.

Offline

 

Board footer