Skip to content

Commit

Permalink
Improve joystick controls and instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
victords committed Apr 21, 2020
1 parent 49f6c7c commit 64899d5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion data/text/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ delete Delete
delete_confirm Are you sure you want to delete this game?
yes Yes
no No
help_text This is a platform game. Use the left and right arrow keys for moving, spacebar jumping, X for items, Z or V to switch between items and C for abilities. Use the up arrow to open doors and speak to friendly bombs, and the down arrow to advance the text while talking to them.\nThe game also supports joysticks, though the button mapping can vary.\nUse F4 to toggle full screen.
help_text This is a platform game. Use the left and right arrow keys for moving, spacebar for jumping, X for items, Z or V to switch between items and C for abilities, up arrow to open doors, Esc to pause.\nThe game also supports joysticks (connect before opening the game), though the button mapping can vary. For an XBOX 360 controller, use the analog stick or D-pad as the arrow buttons, A for jump and confirm, B for items and cancel, X for abilities, LB and RB to switch items, Start to pause.\nUse F4 to toggle full screen.
save Save
cancel Cancel
language Language
Expand Down
2 changes: 1 addition & 1 deletion data/text/portuguese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ delete Apagar
delete_confirm Tem certeza que quer apagar este jogo?
yes Sim
no Não
help_text Este é um jogo de plataforma. Use as setas esquerda e direita para se mover, espaço para pular, X para itens, Z ou V para alternar entre itens e C para habilidades. Use a seta para cima para abrir portas e falar com bombas amigas, e a seta para baixo para avançar o texto enquanto fala com elas.\nO jogo também suporta joysticks, mas o mapeamento de botões pode variar.\nUse F4 para alternar entre tela cheia e janela.
help_text Este é um jogo de plataforma. Use as setas esquerda e direita para se mover, espaço para pular, X para itens, Z ou V para alternar entre itens e C para habilidades, seta para cima para abrir portas, Start para pausar.\nO jogo também suporta joysticks (conecte antes de abrir o jogo), mas o mapeamento de botões pode variar. Para um controle de XBOX 360, use o analógico esquerdo ou direcionais como as setas, A para pular e confirmar, B para itens e cancelar, X para habilidades, LB e RB para trocar itens, Start para pausar.\nUse F4 para alternar entre tela cheia e janela.
save Salvar
cancel Cancelar
language Idioma
Expand Down
2 changes: 1 addition & 1 deletion data/text/spanish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ delete Borrar
delete_confirm ¿Estás seguro que deseas borrar este juego?
yes Sí
no No
help_text Este es un juego de plataformas. Utilice las teclas de flecha derecha e izquierda para moverse, barra espaciadora para saltar, X para ítenes, Z o V para cambiar el ítem y C para habilidades. Utilice la flecha hacia arriba para abrir puertas y hablar con bombas amigas, y la flecha hacia abajo para avanzar el texto cuando hablando con ellas.\nEl juego también ofrece soporte para joystick, pero el mapeo de botones puede variar.\nUtilice F4 para alternar entre pantalla completa y ventana.
help_text Este es un juego de plataformas. Utilice las teclas de flecha derecha e izquierda para moverse, barra espaciadora para saltar, X para ítenes, Z o V para cambiar el ítem y C para habilidades, flecha hacia arriba para abrir puertas, Esc para pausar.\nEl juego también ofrece soporte para joystick (conecta antes de iniciar el juego), pero el mapeo de botones puede variar. Para un gamepad XBOX 360, utilice el mando analógico o los direccionales como las flechas, A para saltar o confirmar, B para ítenes o cancelar, X para habilidades, LB y RB para cambiar ítenes, Start para pausar.\nUtilice F4 para alternar entre pantalla completa y ventana.
save Guardar
cancel Cancelar
language Lenguaje
Expand Down
4 changes: 2 additions & 2 deletions global.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def initialize
ability: [Gosu::KB_C, Gosu::GP_0_BUTTON_2],
prev: [Gosu::KB_Z, Gosu::GP_0_BUTTON_9],
next: [Gosu::KB_V, Gosu::GP_0_BUTTON_10],
confirm: [Gosu::KB_RETURN, Gosu::GP_0_BUTTON_1],
back: [Gosu::KB_ESCAPE, Gosu::KB_BACKSPACE, Gosu::GP_0_BUTTON_0],
confirm: [Gosu::KB_RETURN, Gosu::GP_0_BUTTON_0],
back: [Gosu::KB_ESCAPE, Gosu::KB_BACKSPACE, Gosu::GP_0_BUTTON_1],
pause: [Gosu::KB_ESCAPE, Gosu::KB_BACKSPACE, Gosu::GP_0_BUTTON_6]
}

Expand Down
2 changes: 1 addition & 1 deletion menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def initialize
MenuButton.new(550, :back, true) {
@form.go_to_section 0
},
MenuText.new(:help_text, 400, 200, 600, :center)
MenuText.new(:help_text, 400, 200, 700, :center)
])
Options.form = @form

Expand Down

0 comments on commit 64899d5

Please sign in to comment.