change icon image when touch is pressed
trizero
Member Posts: 6
1 change icon image1 to icon image2 when first touch is pressed. music OFF
2 change icon image2 to icon image1 when second touch is pressed music on
how to do this .?
2 change icon image2 to icon image1 when second touch is pressed music on
how to do this .?
Comments
icons set it equal to 0
then make 2 rules in the icon actor
in the first rule put
if touch is pressed
and
if atribute icons is = 0
then
change image to (icon2)
and
change attribute icons to 1
in the other rule put
if touch is pressed
and
if atribute icons is = 1
then
change image to (icon1)
and
change attribute icons to 0
also follow TShirtBooths instructions
yr welcome
-Josh