Touch events not triggered at right place
Closed this issue · 2 comments
unkelben commented
In this simple exemple, touch events are triggered in the yellow zone, far from the actual sprite (yellow outline)
Any ideas?
Application:
http://www.absurdus.net/temp/
Source:
http://www.absurdus.net/temp/main.js
Thanks,
Jonathan
rtsan commented
Core#scale (Game#scale) is set automatically in initialize.
If you change this property, some problems happen.
So, you can avoid this problem by remove this line.
game.scale = 1;
unkelben commented
Thank you very much.
It's strange though as I recall adding this line trying to solve that exact problem. Anyways.
Jo