Call for Action after one Task is completed

JoeMeisterJoeMeister Member Posts: 602
edited November -1 in Introductions
I like to build a sort of "Where is Valdo" game.
I uploaded a sample for better understanding to the site.
Search for "Yorkie Time"
The Problem:
You have to find and click/touch on a couple of items on the screen,
once you found them all the rest of the picture should disappear and reveal
the photo underneath.

Comments

  • design219design219 Member Posts: 2,273
    There might be a simpler way, but I would try two boolean attributes, firstCorrect and secondCorect, and have a rule on one correct actor "when touched change attribute firstCorrect to true" and the second correct actor sets the other attribute to true. Then the actor that needs to disappear would have a rule when firstCorrect is true AND secondCorrect is true, fade out. You would probably want to add to that rule a reset both attributes to false.

    You could also use a integer attribute and do addition when the correct actor is touched. The fade rule would be when attribute whatever = 2, then fade. This method would allow you to have more than two if you ever needed to.

    Hope that helps, there might be a better or simpler way, but I'm sure this will work.

    _______________

    Nesen Probe http://itunes.apple.com/us/app/nesen-probe/id377766693?mt=8
    Tickle Stones http://itunes.apple.com/us/app/tickle-stones/id363484260?mt=8
    Food Fight! (free) http://itunes.apple.com/us/app/food-fight/id352646643?mt=8
Sign In or Register to comment.