Page 1 of 1
"panning" the view
Posted: 27 August 2020, 09:37
by Proclivitas
Hi,
I can rotate and zoom the view, but I want to be able to "pan" the view - move it up and down.
For me, the field of play is very low vertically. I want to have it "higher on the screen" so I want to "fly down" with the camera. Currently, this is not possible. I can just rotate.
Can you please make more camera controls? Not just rotate and zoom, but also pan (to some extent)?
Re: "panning" the view
Posted: 27 August 2020, 10:08
by Tisaac
Can you attach a screenshot to explain why you think it is low ?
Re: "panning" the view
Posted: 27 August 2020, 23:36
by Proclivitas
The white arrow shows where I wish the board would be. Just "higher" on the screen.
Right now it's too low, so when you go to a more "top-down" view it's so low that it even hides the letters at the bottom... And there's plenty of "sky" above where it could be.
Being able to pan the camera would solve this.

- screen3.jpg (221.19 KiB) Viewed 1307 times

- screen2.jpg (238.01 KiB) Viewed 1307 times
Re: "panning" the view
Posted: 28 August 2020, 06:18
by quietmint
Understood. The problem here isn't with the 3D scene or the camera, instead it is related to how the 3D scene is positioned on the web page. Because we use "fixed" positioning, the 3D scene doesn't move if you scroll the page. That extra blue sky you see at the top isn't actually part of the 3D scene, it's the web page background.
I believe we can remove "fixed" positioning to correct this problem. It was needed previously to make the game mobile friendly, but due to some other improvements I think it is no longer required. We'll investigate and provide an update here.
Re: "panning" the view
Posted: 29 August 2020, 13:39
by Proclivitas
Yes, I think this is correct.
I did some "selecting" and the Web-GL (webassembly? not sure what the language is) container has a lot of empty space on top and is "pushed down" from the top bar by some space.
If that space were removed so that the "3d space" sits flush with the top bar, I think it would probably be just about perfectly positioned.
Re: "panning" the view
Posted: 30 August 2020, 22:42
by quietmint
Version 200830-2310: Fixed!