How do I match two different sprite

Get help using Construct 2

Post » Fri Mar 13, 2015 3:33 pm

I am trying to match two different sprite.
I Did it with gobal variaribles. i have 2 global number variables match and match2.
I have two sprite than set values to global variables.
I compared the values if they are equal add 1 point to gobal variable score.
So my problem i am trying to create the condition lose for my game.
How can i create it ?

I am noob every help or tutorial, than you believe could help me please post it.
B
3
Posts: 6
Reputation: 187

Post » Fri Mar 13, 2015 3:51 pm

Hi,
What kind of condition do you need for losing the game ?
You lose if they don't match?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Fri Mar 13, 2015 4:33 pm

beufreecasse wrote:Hi,
What kind of condition do you need for losing the game ?
You lose if they don't match?


Yeah im using family for creating ramdon sprite . i want when you touch it and they don't match you lose. :lol: :lol:
B
3
Posts: 6
Reputation: 187

Post » Fri Mar 13, 2015 5:31 pm

You can use on created sprite trigger and do your matching test
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sat Mar 14, 2015 3:39 am

beufreecasse wrote:You can use on created sprite trigger and do your matching test


Could you give me an example. i am trying to do it but i can't. :( :(
B
3
Posts: 6
Reputation: 187

Post » Sat Mar 14, 2015 7:37 am

Send me a sample capx I will modify it
B
14
S
4
G
2
Posts: 190
Reputation: 3,938


Return to How do I....?

Who is online

Users browsing this forum: jeffige and 5 guests