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

#1 2008-01-12 00:00:07

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

A error in scratch programming?

http://scratch.mit.edu/projects/NobodyKnowsNorune/79303
If you download that poject you will notice nothing is wrong with the script and yet the varibles won't work.

Last edited by NobodyKnowsNorune (2008-02-22 20:17:28)


My name is Riley                                        I ride a unicycle

Offline

 

#2 2008-01-12 04:19:53

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: A error in scratch programming?

You need to swap the positions of the colors in the Sensing block.  Where you have

     Color <green> is touching <red>?

you need

     Color <red> is touching <green>?

Do this in all three locations where you are using the sensing block and the script will work.  I have noticed this before with that particular block;  you need the color of the Sprite you are scripting for in the first position.

You may also want to add some initialization blocks such as
 
     set X to 0
     set Y to 0
     Goto 0 , 0

So you can run the script multiple times.  Hope this helps!


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-01-12 12:13:08

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

I hope it does too


My name is Riley                                        I ride a unicycle

Offline

 

#4 2008-01-12 13:43:24

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

HEy I found another error you can add tags to other people projects!


My name is Riley                                        I ride a unicycle

Offline

 

#5 2008-01-12 14:30:12

student59350
Scratcher
Registered: 2007-12-31
Posts: 16

Re: A error in scratch programming?

what? how?!

Offline

 

#6 2008-01-12 14:45:05

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: A error in scratch programming?

NobodyKnowsNorune wrote:

HEy I found another error you can add tags to other people projects!

That's not an error. It's supposed to be this way! If someone has a project and you think it should have the tag "Computer", then you can add it.


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#7 2008-01-12 15:20:07

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: A error in scratch programming?

Many of my students have been confused by the "color touching color" block.  It is not at all obvious that the first color has to be in the sprite doing the test, and the second color has to be elsewhere.

Offline

 

#8 2008-01-12 19:36:25

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

is there a way to stop people from adding tags to your projects


My name is Riley                                        I ride a unicycle

Offline

 

#9 2008-01-12 20:51:21

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: A error in scratch programming?

Sure...don't upload them to the website.  Other than that no, not that I'm aware of.  You can delete any tags that are added, if you don't agree with them.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#10 2008-01-15 19:52:50

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

okay thanks. I'll say if I find something else


My name is Riley                                        I ride a unicycle

Offline

 

#11 2008-01-18 19:10:05

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

I found something else!


Sometimes when you upload a project, the varibles say E13B8G12 when they are small
Why does this happen?


My name is Riley                                        I ride a unicycle

Offline

 

#12 2008-02-01 05:26:29

kenny1
Scratcher
Registered: 2008-01-29
Posts: 4

Re: A error in scratch programming?

Thanks.

Offline

 

#13 2008-02-09 11:10:36

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

okay how about when one of your scripts goes red what does that mean


My name is Riley                                        I ride a unicycle

Offline

 

#14 2008-02-09 13:17:27

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: A error in scratch programming?

It means something in the script is attempting to do an illegal operation, usually division by zero.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#15 2008-02-18 12:04:48

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

I see


My name is Riley                                        I ride a unicycle

Offline

 

#16 2008-02-22 20:18:34

NobodyKnowsNorune
Scratcher
Registered: 2007-09-17
Posts: 93

Re: A error in scratch programming?

http://scratch.mit.edu/projects/NobodyK … une/104649

has spent hours working on this and I made it perfect! It worked shamelessly then when I up loaded it, the health bars didn't work, the exp bar didn't work, the sprites took no damage and the music wouldn't play!


My name is Riley                                        I ride a unicycle

Offline

 

Board footer