animate problem
sdx1987
Member Posts: 44
i hope that when i touch and holding a button then play a animate .when i release the button then stop the animate.
how to do that?thanks. run in iphone.
how to do that?thanks. run in iphone.
Comments
When touch is pressed.
Animate
Change attribute self.Color.Alpha to 1
Otherwise:
Change attribute self.Color.Alpha to 0
Hope that helps.
and sorry i didn't say clearly
and i hope when i release the button then stop the animate.
When you touch your actor again, then he become visible and animation starts from the beginning.
I think that you can also delete change attribute behaviors, and this will still working (but I'm not sure, and I don't have my Mac around right now).