I'd like to give user the ability to click on some objects on one big image. Is there an easy way to check if the click was inside the irregular polygon that i define on the image?
Develop games in your browser. Powerful, performant & highly capable.
What doesn't work about using the mouse or touch event of clicking on object?