Settings: one Diagnostic info readout for the screen, the map's drawing and its speed
Settings › Viewport info is now Diagnostic info, and the frame meter of the WebGL work joins it: one readout in a corner instead of two, for bug reports. It shows: - what the screen tells the game, as before (sizes, visual viewport, safe areas, standalone, the tab bar); - what draws the map: WebGL2 and the graphics card's name, or 2D and why (Always 2D, a puzzle, no WebGL2, a processor pretending to be a card, a lost context, a card out of memory: glKill() keeps the reason); - how fast: frames per second, the 95th percentile and slowest frame, draw()'s mean time, the speed and zoom, and on the card its segments and packets. ?vp and ?fps open it, ?novp and ?nofps close it, five taps on the date toggle it, and a device that had the frame meter on keeps it. Its text stays technical and in English: it is pasted into reports. On a 360 px phone it wraps inside the screen and never takes a tap. The setting's name and description are translated. tests/diagnostic-info.test.js: the setting, the readout's parts, each reason for 2D, the frame figures, the address flags and the old setting, the taps, and the phone layout.
This commit is contained in:
parent
52c8aaffd6
commit
cdc7c6d1eb
15 changed files with 160 additions and 38 deletions
|
|
@ -15,6 +15,7 @@ All notable changes to this project are documented here. The project follows
|
|||
- Zooming is smoother on big maps: while you zoom, cities and ships keep their picture and are only redrawn sharp once the zoom stops, instead of being repainted at every small step.
|
||||
- The graphics card draws the coastlines with fewer points when you zoom out, where the extra detail was smaller than a pixel, so the map costs it a lot less work, which helps phones most.
|
||||
- The map leaves far less memory behind it on every frame for the browser to clean up while you play.
|
||||
- Settings › Viewport info is now Diagnostic info: besides your screen's size, it shows how the map is drawn (by the graphics card or in 2D, and why) and how fast, ready to copy into a bug report.
|
||||
|
||||
## [2.9.1] — 2026-11-04
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue