endemic / arcadia

Minimal <canvas> game framework
MIT License
1 stars 0 forks source link

Point event coordinates aren't translated based on parent #13

Closed endemic closed 8 years ago

endemic commented 8 years ago

Add a button to another shape, then try to click it. It probably won't work, because the button is being translated by its parent, but the point coords aren't.

endemic commented 8 years ago

Probably fixed: https://github.com/endemic/arcadia/blob/master/src/gameobject.js#L111