I've never needed the AGBO - but we're doing something completely different with it, and I'm struggling to understand it...
5 x 5 grid
Brick Width: 110
Brick Height: 110
Origin (First Brick Top Left): X=98 Y=513
Count of types = 8
I'm setting the type to animation number - 12 (to get types 1 - 8)
Player can move any brick to any position on the grid (one at a time), so I think i should be loading the bricks into the AGBO after every move is finished, then check for a match on Horizontal AND Vertical (but not on diagonals).
I want to resolve the bricks and find all the matches (multiple rows and columns could be different matches of different types) - once all the bricks are marked - then remove the matches and drop in new bricks (and again check for matches).
my problems: Since all the examples I can find assume the match 3 game allows only swapping of 2 bricks (and only if the swap is a valid move).
- I can't properly setup the grid
- I can't properly test the grid
Can anyone help? Thanks!