Change between image

wolala123wolala123 Member Posts: 249
edited September 2013 in Working with GS (Mac)
I have 2 button, yes button and no button. For example, when i press yes button and change to no button, the actor move .Then, i press no button and change yes button,actor back to original position. How to do it?

Comments

  • darrelfdarrelf Member Posts: 243
    Have you tried something like the following:

    (I've used change attribute but I tend to use Interpolate - I think Interpolate may be better on resources (please correct me anyone if I'm wrong) and it also allows you to play with the speed of transition etc.)

    Rule: When Touch is both pressed and inside

    Rule: When Attribute self.Position.X = 200, Change attribute self.Position.X = 300 & Change self.Image to NO

    Otherwise: Change attribute self.Position.X = 200 & Change self.Image to YES
Sign In or Register to comment.