How do I compare the two frames of diffrent objects?

Get help using Construct 2

Post » Thu May 19, 2016 9:51 pm

Hi Construct maniacs! ;)

I was looking for the answer on the forum, but none of read article does not solve my problem in 100%.
I'm making a very simple game and I need to compare two frames (but located in a different objects).

I thought - no problem! :geek: I just read the value of one, then of another, assign values ​​to the corresponding variables and compare to each other (if variables are equal it will add 1 to the selected value). But.. it does not work :? And I do not know why.. That's terrible! Does anyone have an idea how can I solve my problem? What am I doing wrong?

Thank you in advance!

Image
B
5
Posts: 22
Reputation: 255

Post » Thu May 19, 2016 11:06 pm

xpired
B
33
S
18
G
27
Posts: 2,431
Reputation: 20,326

Post » Sat May 21, 2016 8:02 am

viewtopic.php?f=147&t=173047&p=1038111&sid=b79ee34816f3624644462ac2aca05a64#p1038111

I did not want to make a mess on the forum I moved my topic on. I will be very happy If someone would be able to solve the problem.
B
5
Posts: 22
Reputation: 255

Post » Sat May 21, 2016 12:30 pm

Hi,

If you want to compare the animation frame you can make something like that

Sprite1 - Compare Animation Frame = "Sprite2.AnimationFrame"

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
93
S
32
G
30
Posts: 1,095
Reputation: 27,510


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests