Hey everyone, I started using Construct 2 a few days ago following the match 3 game tutorial on tutsplus.
The project I'm making is similar so it's a good base. However I'm having trouble figuring out how the else condition works, or I might possibly be passing my parameter wrong. Here is a screenshot of my event sheet:
In my Stack() function I want to do different things if the color matches and if it doesn't:
-If the dropped one matches the color of the one it overlaps, I want to destroy the one at the second position [(1,0), (1,1)] and move the dropped one to the second position and increment its level (stacking it).
-If the color doesn't match, I want to put the dropped one back at position [(0,0), (0,1)] where it started (just as if it wasn't overlapping any valid position, top, bottom, left or right) , and do nothing else.
Am I passing my function parameter wrong?
Is there something wrong with the hierarchy of the Stack() function?
Maybe I'm using the array wrong? It's 2x2
Any help would be greatly appreciated, I feel like I must be missing something silly.