I'm making a guitar chord project. Each note has an individual sprite, and there are sprites to choose a chord, which then broadcasts to the individual note sprites and tells them to show or hide. the notes are meant to display, and then dissapear next time the mouse is clicked.
the Problem is using the 'wait till mouse down?' as below on one of the note sprites
When i receive broadcast - Show - Wait until mouse down - Hide
It works perfectly in the scratch development software, but not in presentation mode or embedded. the notes are not shown at all when in presentation mode/embedded. I can use the 'When i receive (broadcast) -Show - Wait 5 seconds - hide' and that is fine. Not exactly what i want though.
Any help would be great. Not sure if links are allowed but the .sb is below
http://www.fileden.com/files/2006/12/19/529338/Chords2.sb
Last edited by crooms (2009-03-09 08:47:55)
Offline
Well, I'm not exactly sure why it wasn't working...maybe you are trying to do too much with the mouse by using the When Clicked events on the chord buttons as well as the Mouse Down event on the Waits?
I tried a different approach that seems to be working...using a Broadcast and Wait on the Clear message on each chord button to get rid of the last set of fingerings and then broadcasting the message to set up for the current chord. Here, take a look
http://scratch.mit.edu/projects/Paddle2SeeFixIt/446927
Offline