this post was submitted on 16 Sep 2023
20 points (91.7% liked)
Game Development
3449 readers
1 users here now
Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I am in the mid-early stages of developing a 3d game with JavaScript, and I was just now trying to solve an annoying problem with the deviceorientation event where it didn't account for the device being vertical or horizontal, so I somehow have to automatically detect which orientation the device is, and make the camera use the orientation data accordingly. For context, the game is at https://talesofberthmidrish.jackgreenearth.org/