Why i scale node and can't get touch event on this node children

Currently I am creating a board game tic tac toe. I attach the TOUCH_END event to the squares of the board. When I start playing, I still get the event when I click on each of those cells. But when I zoom my board, I don’t get that event anymore. How can I fix it? Thank.

That really depends on your project code, I do think it might be related to how you scale your board, normally you won’t make each tile a node, so that means you will listen to the event on the whole board, and do some detection on which tile should react. Wide guess is the problem is happening on the detection calculation.

1 Like