Hi everyone!
I was experiencing some offsets when clicking on some space on the board of my game Santorini on the app : the wrong space was selected or no space selected at all.
Since I'm using a 3D rendered scene, I cannot use classic eventListener on DOM object but instead I have to compute the position of the click on the scene to then use raycasting. It's when I try to compute the position of the scene container on the page that some weird numbers pop out. After using the mobile-simulation of chrome, I found out that this was due to the fact that BGA framework use the non-standard css property "zoom" to make their website "responsive". I found out it was one of the reason why the bga app is not working on firefox, since ff doesn't support this property.
Has anyone experienced same kind of things before ? Any idea how to solve this ?
(related bug report on chromium : https://bugs.chromium.org/p/chromium/is ... =429140#c8)
Thanks,
Tim
I was experiencing some offsets when clicking on some space on the board of my game Santorini on the app : the wrong space was selected or no space selected at all.
Since I'm using a 3D rendered scene, I cannot use classic eventListener on DOM object but instead I have to compute the position of the click on the scene to then use raycasting. It's when I try to compute the position of the scene container on the page that some weird numbers pop out. After using the mobile-simulation of chrome, I found out that this was due to the fact that BGA framework use the non-standard css property "zoom" to make their website "responsive". I found out it was one of the reason why the bga app is not working on firefox, since ff doesn't support this property.
Has anyone experienced same kind of things before ? Any idea how to solve this ?
(related bug report on chromium : https://bugs.chromium.org/p/chromium/is ... =429140#c8)
Thanks,
Tim