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
|
|
@ -2374,6 +2374,7 @@
|
|||
"keys.esc":"Esc",
|
||||
"keys.game_speed":"Spielgeschwindigkeit: ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Tastenkürzel",
|
||||
"keys.move_around_the_map":"Karte verschieben",
|
||||
"keys.noc_dashboard_a_letter_right":"NOC-Dashboard. Ein Buchstabe direkt danach öffnet einen Tab:",
|
||||
"keys.pause_or_play":"Pause oder weiter",
|
||||
"keys.previous_or_next_of_your":"Vorheriger oder nächster deiner POPs",
|
||||
|
|
|
|||
|
|
@ -2372,6 +2372,7 @@
|
|||
"keys.esc":"Esc",
|
||||
"keys.game_speed":"Velocidad del juego: ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Atajos de teclado",
|
||||
"keys.move_around_the_map":"Mover el mapa",
|
||||
"keys.noc_dashboard_a_letter_right":"Panel del NOC. Una letra justo después abre una pestaña:",
|
||||
"keys.pause_or_play":"Pausar o reanudar",
|
||||
"keys.previous_or_next_of_your":"Tu POP anterior o siguiente",
|
||||
|
|
|
|||
|
|
@ -2372,6 +2372,7 @@
|
|||
"keys.esc":"Échap",
|
||||
"keys.game_speed":"Vitesse du jeu : ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Raccourcis clavier",
|
||||
"keys.move_around_the_map":"Déplacer la carte",
|
||||
"keys.noc_dashboard_a_letter_right":"Tableau de bord NOC. Une lettre juste après ouvre un onglet :",
|
||||
"keys.pause_or_play":"Pause ou reprise",
|
||||
"keys.previous_or_next_of_your":"Ton POP précédent ou suivant",
|
||||
|
|
|
|||
|
|
@ -2372,6 +2372,7 @@
|
|||
"keys.esc":"Esc",
|
||||
"keys.game_speed":"Velocità di gioco: ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Scorciatoie da tastiera",
|
||||
"keys.move_around_the_map":"Sposta la mappa",
|
||||
"keys.noc_dashboard_a_letter_right":"Dashboard NOC. Una lettera subito dopo apre una scheda:",
|
||||
"keys.pause_or_play":"Pausa o riprendi",
|
||||
"keys.previous_or_next_of_your":"Il tuo POP precedente o successivo",
|
||||
|
|
|
|||
|
|
@ -2372,6 +2372,7 @@
|
|||
"keys.esc":"Esc",
|
||||
"keys.game_speed":"Velocidade do jogo: ½×, 1×, 2×, 4×, 8×",
|
||||
"keys.keyboard_shortcuts":"Atalhos de teclado",
|
||||
"keys.move_around_the_map":"Mover o mapa",
|
||||
"keys.noc_dashboard_a_letter_right":"Dashboard do NOC. Uma letra logo depois abre uma aba:",
|
||||
"keys.pause_or_play":"Pausar ou continuar",
|
||||
"keys.previous_or_next_of_your":"Seu POP anterior ou próximo",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue