Check for Interconnected Sprites?

Get help using Construct 2

Post » Mon Mar 25, 2013 12:07 am

I'm using the Board plugin. The board size is set to 8x8. I'm trying to figure out how I can select all sprites connected to eachother and put them into groups? By connected I mean having a logic distance of 1.

Say I these sprites at these logic X, Y positions on the board:

Sprite1: 1,1
Sprite2: 1,2
Sprite3: 2,2
Add Above Sprites to Group1

Sprite4: 7,7
Sprite5: 7,6
Add Above Sprites to Group2

Sprite6: 4, 4
Don't add above sprite to any group because it is not connected to anything.

And so on...

Thanks for any help you can give meSkillasaurus2013-03-25 00:08:13
Posts: 31
Reputation: 1,237

Return to How do I....?