kittykatattack / hexi

Make games the fun way!
MIT License
555 stars 83 forks source link

method 'onClick' #8

Closed artyprog closed 8 years ago

artyprog commented 8 years ago

Hello, How to implement 'onclick' to an array of rectangle or sprites ? I have managed with "g.pointer.tap" and "collision between pointer and rectangle" but it is not very elegant

Regards

artyprog commented 8 years ago

I have found a better solutions with BreakOut sample...

kittykatattack commented 8 years ago

Great, glad you found a solution.