naubino / naubino.js

a browser game designed with touch surfaces in mind
7 stars 2 forks source link

Use canvas.isPointInPath(x,y) for Naub interaction #28

Closed hoodie closed 12 years ago

hoodie commented 12 years ago

At the moment only round Naubs can be touched properly because the distance between pointer and center is being used to determine if the pointer touches a naub. With isPointerInPath this can be done more accurately.

In order to allow for different shapes this issue has to be resolved.