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

#1 2011-01-23 00:26:49

Marble1
New Scratcher
Registered: 2011-01-23
Posts: 3

Guess the number-Scratch Module 1

I followed all the steps and have checked them over and over. When a guess is made by clicking on a button it always says "Too High". I don't think the problem is in the script for Sprite 12 because even if I rearrange the "if else" part so that "Guess>Actual" comes first it's still the same. I think the problem is when the costumes are made for sprite 12. I think the program isn't recognizing the edits that were made after I copied costume 1 four times. But I could be way off track maybe I missed something. Please help, it's driving me crazy because I can't figure it out.

Offline

 

#2 2011-01-23 07:46:30

Lar-Rew
Scratcher
Registered: 2010-02-19
Posts: 100+

Re: Guess the number-Scratch Module 1

Can you upload what you have?  It will be much easier to help you, because we can't see any of your project.

Offline

 

#3 2011-01-23 12:06:03

Marble1
New Scratcher
Registered: 2011-01-23
Posts: 3

Re: Guess the number-Scratch Module 1

I uploaded it but I don't know if you can see it.

Offline

 

#4 2011-01-23 15:06:22

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Guess the number-Scratch Module 1

I think the problem is in this script:
http://www.freeimagehosting.net/uploads/92d6cf3fed.gif
In that script, you've typed out the variable names instead of using the round blocks in the "Variables" section. In Scratch, that will compare what you typed in rather than the variables themselves.
The solution is to replace them with the round variable blocks, like this:
http://www.freeimagehosting.net/uploads/95c5405712.gif
It should work now!


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#5 2011-01-23 15:45:50

Marble1
New Scratcher
Registered: 2011-01-23
Posts: 3

Re: Guess the number-Scratch Module 1

IT WORKS!!!!!! Thank you, Thank you, Thank you. I spent so many hours going over this. I would walk away from the computer and then think of something else that I could try so I'd be back at the computer again. I love this kind of stuff but it was driving me crazy, hard to think of anything else. I kept double checking the module but I missed that. How did you find my project so you could look at my script? I'm just a beginner scratcher. I really appreciate your help.

Offline

 

Board footer