How do I create a clickable world map? When I click the transparent portions of a sprite, it still triggers the mouse event on left click. I see no easy way to avoid this.
Assuming you just want to be able to select continents for this example, I would create invisible sprites over the individuals continents (or countries ) and set the click events to the to the individual invisible sprites.
Develop games in your browser. Powerful, performant & highly capable.
Aren't sprites only square? As an example, can you create an invisible sprite in the shape of a triangle?
You can add, delete and move around points of a sprite's collision mesh. I believe the tool for it is right under the imagepoint tool in the image editor. Making a triangle should be simple enough.
or try this tutorial simple
https://www.scirra.com/tutorials/1254/r ... -base-game