The arrow keys and W A S D move the map while held
The map moves at 700 px a second on screen at any zoom. The keys run their own frame loop only while one is down, so the game loop does no extra work. Letting go, a window opening or leaving the browser window stops it, and a slow frame moves at most 50 ms worth. Arrows still scroll the NOC dashboard when it is open, and Alt or Cmd with an arrow stays the browser's.
This commit is contained in:
parent
d88684d86e
commit
2680f3d82b
9 changed files with 52 additions and 5 deletions
|
|
@ -2373,6 +2373,7 @@
|
|||
"keys.esc":"Esc",
|
||||
"keys.game_speed":"Game speed: ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Keyboard shortcuts",
|
||||
"keys.move_around_the_map":"Move around the map",
|
||||
"keys.noc_dashboard_a_letter_right":"NOC dashboard. A letter right after it opens a tab:",
|
||||
"keys.pause_or_play":"Pause or play",
|
||||
"keys.previous_or_next_of_your":"Previous or next of your POPs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue