Press this a picture changes
Bilzo12
Member Posts: 70
Hey everyone I know I've been asking a lot of questions but my helpful app is almost complete but what I need is the ability to press a actor and have a picture on the same scene change but the problem is I have no idea on how to do this if any one could help that would be awesome.
Thanks for reading
Thanks for reading
Best Answer
-
patapple Posts: 873
if i have right understand you can:
1) create a boolean attribute
2) in the actor -> when touch is pressed - change attribute "your attribute" to TRUE
3) in the image actor -> new rule - when attribute "your attribute" is TRUE --> change image to "your image"
cheers
Answers
… might be more efficient to unlock the button in scene
on button:
Rule: when
Event: touch is pressed
changeAttribute: scene.Background.imageHolder.image
demo: http://www.mediafire.com/?o8blf9x9c9sfjh9
buttonUnlocked behavior and multipleChanges with buttonLocked and tables