I lost my first message so I'll be brief.
My original tictactoe project uses nine sprites that each had their own costumes, all the same.
I changed the project so that there was only 1 wardrobe manager that had the costumes, and I used stamp to place the Xs and Os when the user clicked on one of the original sprites.
The way I changed costumes was to use
<switch to costume[ XXX ]>
but this stopped working when I started using the stamp method.
I changed the wardrobe manager to use
<next costume>
and it worked again online.
Is this a bug?
The projects I'm talking about are
Before: http://scratch.mit.edu/projects/aussieinca/267417
Problem: http://scratch.mit.edu/projects/aussieinca/268277
Fixed: http://scratch.mit.edu/projects/aussieinca/268296
Thanks,
Darren (AussieInCA)
Offline
I noticed that one of your costumes is named "000" where the characters are zeros not the letter oh. I have found that the Java player will not recognize a costume name if it can be interpreted as a number. Try renaming the costume to something that can not be interpreted as a number and see if that helps.
Offline
Paddle2See wrote:
I noticed that one of your costumes is named "000" where the characters are zeros not the letter oh. I have found that the Java player will not recognize a costume name if it can be interpreted as a number. Try renaming the costume to something that can not be interpreted as a number and see if that helps.
that is correct.also it reconises #s as the number - 1 or a sybol.(was that a old gich?)
number broadcasts upset it to!
paddle2see- you spellet somthing wrong-
Paddle2See wrote:
I noticed that one of your costumes is named "000" where the characters are zeros not the letter oh. I have found that the Java player will not recognize a costume name if it can be interpreted as a number. Try renaming the costume to something that can not be interpreted as a number and see if that helps.
Offline
Thankyou both for the explanation. I think that still makes it a bug in the Java Player, or perhaps the Scratch IDE should disallow 'numbers' as names for costumes and messages
Thanks again, in the latest version I reverted to the names and fixed my costume name to be oh-oh-oh, rather than zero-zero-zero, so now it is more correct.
Offline
Hi, aussieinca.
I agree with you that this should be considered a bug in the Java player. The player is supposed to behave exactly the same as Scratch itself.
A few days ago, I updated the Java player to address this problem. I realize that you've already changed your project to work around this bug, but you should not run into this problem in future project. If you do see this problem again, please post here or use the "contact us" link at the bottom of the page to let us know.
Thanks for reporting the problem!
-- John
Offline