Hey there,
I'm new to Corona SDK with a little history with GameSalad. I'm right now trying to re-make a game that I made with GS and like to improve it through the process.
Here is the link to sample code:
http://dl.dropbox.com/u/17208657/puzzle.zip
To summarize the current status: there are cubes with different colors falling down and they stack onto each other. I'd like to group cubes seperately if there are 3 or more of the same type (with same color) are connecting each other (like match3). You can see in the sample code that the ones matching the criteria have an alpha value of 0.5.
For example, if there are two groups of red cubes, I want them to have separate ids. Right now, I can destroy the cubes when player clicks a cube but that's kinda messy and slow downs the process. I want to define the groups before any action.
Any ideas? Thanks in advance :)