release outside - how do i prevent that?
xyloFUN
Member Posts: 1,593
Hi,
i've made an instrument that consists of seven little play pads that, when touched will animate down kind of like a piano key
The issue is that if someone slides outside the actors dimensions, the up state image is not being called and so it looks like as if the key got stuck.
I'm sure there's an easy way to fix this but a google search didn't help me ....
Anyway, if anyone can solve that or has a workable solution, please share
i've made an instrument that consists of seven little play pads that, when touched will animate down kind of like a piano key
The issue is that if someone slides outside the actors dimensions, the up state image is not being called and so it looks like as if the key got stuck.
I'm sure there's an easy way to fix this but a google search didn't help me ....
Anyway, if anyone can solve that or has a workable solution, please share
Comments
-Josh
I did that but for some reason, it didn't have the effect I was hoping for?
I have two rules per pad (pad = key to trigger)
The first rule for when touch is pressed and plays a sound and changes the image
The second rule is for when touch is released and changes the image back
I've added to "otherwise" the change image attribute and set it to the original up state but as soon as i slide outside the boundaries, the keys does not go back up.
hmmmmm ....
Just augmenting the rule resulted in a stuck key after the first touch.
No big deal, just copy the second rule (release) once and change to "outside". That does it