Condition for Mouse Event

Get help using Construct 2

Post » Fri Jun 08, 2012 3:45 am

I have an Mouse event that flips cards when you click on them and sets their a specific position x.y for each. I created a variable "cardPosition". On each click, I add value to the variable. I also set up a condition: if cardPosition = 1 set position to x.y.

The problem is that when I click twice on the same card (that was flipped already), it messes everything up.

So my question is... I set up boolean variable FaceUp. How to add it to that Mouse event so that when the card is Face up, nothing happens when you click on it?

Thanks so much for your help.
B
3
Posts: 7
Reputation: 289

Post » Fri Jun 08, 2012 4:12 am

Actually, I just covered the card with an invisible button, which I will use later. This took care of the issue.
B
3
Posts: 7
Reputation: 289


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 25 guests