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)
Offline
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!
Offline
I hope it does too
Offline
HEy I found another error you can add tags to other people projects!
Offline
what? how?!
Offline
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.
Offline
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
is there a way to stop people from adding tags to your projects
Offline
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.
Offline
okay thanks. I'll say if I find something else
Offline
I found something else!
Sometimes when you upload a project, the varibles say E13B8G12 when they are small
Why does this happen?
Offline
okay how about when one of your scripts goes red what does that mean
Offline
It means something in the script is attempting to do an illegal operation, usually division by zero.
Offline
I see
Offline
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!
Offline