Hello
I have some square sprites
with random colors (red or green) only
check this image : http://i.imgur.com/zszA9ay.png
when user click on a square , I need to flip the color of the rounded sprites
for example (if the user clicked on the square with index 8)
it should flip the color of the rounded squares
the rounded squares (8 squares) for a square with index 8
1-top-left one with index (8 - (columns count - 1))
2-top one with index (8 - columns count)
3-top-right one with index (8 - (columns count + 1))
4-left-one with index (8-1)
5-right-one with index (8+1)
6-bottom-left one with index (8 + (columns count - 1))
7-bottom one with index (8 + columns count)
8-bottom-right one with index (8 + (columns count + 1))
this image is my try : http://i.imgur.com/M2pSw8t.jpg
I tried too many - but not works
it's very easy to do that with some coding
but I can't do that with construct 2
it need coding to be done , or what ??