Flip Card Memory Game - Why are 2 Cards Flipping in Unison?
I'm looking for help with a flip-card/memory game. I'm sure this is something simple that I'm missing, but it's getting late and I'm not seeing the answer.There are multiple cards and each card has one mate. (For the sake of simplicity, let's say there are only 2 cards, Card "A" & Card "B," which are a match.)
- I have set up a layer for each pair of cards. Layers are set to show other layers (not hide them).
- Clicking either Card "A" or Card "B" shows "Layer 2" (this is working).
- On Layer 2 are the two cards that match (4 images: Card "A" front & back + Card "B" front & back).
- Flipping a card over is a combination of "change state to hidden" and "change state to normal"
Currently, when I click on either card, they both flip over. I need the card that I clicked on to flip over - not both.
And once I have multiple cards on the slide, how do I get them to flip back over if they're not a match?
I've uploaded a portion of the .story file to you can see better what I'm doing.
Thanks for your help!