Hello! I'm working on a project and am having difficulty with the costumes not switching. The project is at
http://scratch.mit.edu/projects/Kris_Co/2925777
What I don't understand is why the Blue bottles are the only ones that are behaving like they are supposed to be but all the other sprites share basically the same script. To add to things, on the website the clear bottles actually switch costume but they don't play the sound, and in the scratch program they don't do anything! The teacups behave the same way both online and in program: the sound gets played but the costume doesn't switch. It's been driving me mad and would appreciate any thoughts.
Thanks!
Offline
I see what's wrong.
switch to costume (join [Plate] (pick random (2) to (5)))your costumes are called
Offline
Maybe you should just have
switch to costume (pick random (1) to (however many costumes there are))(yes, switch to costume works with numbers of costumes not just names)
Last edited by joefarebrother (2012-11-28 16:24:46)
Offline
Thank you both! I can't believe I overlooked something simple like that. I still find it interesting though, that while they do change costumes in the Flash player on the website, they still don't on my computer.
Thanks again!
Offline
Kris_Co wrote:
Thank you both! I can't believe I overlooked something simple like that. I still find it interesting though, that while they do change costumes in the Flash player on the website, they still don't on my computer.
Thanks again!
If that happens and all the scripts seem to be looking fine, save your project. Close your Scratch and reopen on the project. If the problem still isn't resolved then it is something in your scripts.
Offline