canviada la tecla de servei a F12
This commit is contained in:
11
README.md
11
README.md
@@ -24,14 +24,14 @@ El joc està optimitzat per a ser jugat amb un mando de jocs, encara que un dels
|
|||||||
- **Fletxes**: Mou al personatge.
|
- **Fletxes**: Mou al personatge.
|
||||||
- **Q, W, E**: Disparar a l'esquerra, al centre i a la dreta, respectivament.
|
- **Q, W, E**: Disparar a l'esquerra, al centre i a la dreta, respectivament.
|
||||||
|
|
||||||
#### Menú de servici:
|
### Menú de servei:
|
||||||
|
|
||||||
| Teclat | Mando | Acció |
|
| Teclat | Mando | Acció |
|
||||||
|:-------|:------|:------|
|
|:------------|:----------------------------------|:---------------------------------|
|
||||||
| **0** | Botó de servici | Obrir el menú de servici |
|
| **F12** | Botó de servei | Obrir o tancar el menú de servei |
|
||||||
| **Fletxes** | Mando direccional | Moure's pel menú |
|
| **Fletxes** | Mando direccional | Moure's pel menú |
|
||||||
| **Enter** | Botó de disparar esquerra | Acceptar opció |
|
| **Enter** | Botó de disparar cap a l'esquerra | Acceptar opció |
|
||||||
| **Supr/Backspace** | Botó de disparar centre | Tornar arrere |
|
| **Borrar** | Botó de disparar cap al centre | Tornar arrere |
|
||||||
|
|
||||||
> Nota: El joc suporta nomes un jugador amb teclat.
|
> Nota: El joc suporta nomes un jugador amb teclat.
|
||||||
|
|
||||||
@@ -45,6 +45,7 @@ El joc està optimitzat per a ser jugat amb un mando de jocs, encara que un dels
|
|||||||
| Tecla | Funció |
|
| Tecla | Funció |
|
||||||
|:-----------:|----------------------------------------------------|
|
|:-----------:|----------------------------------------------------|
|
||||||
| **ESC** | Tancar el joc |
|
| **ESC** | Tancar el joc |
|
||||||
|
| **F12** | Menu de servei |
|
||||||
| **P** | Pausar el joc |
|
| **P** | Pausar el joc |
|
||||||
| **F1** | Fa la finestra més xicoteta |
|
| **F1** | Fa la finestra més xicoteta |
|
||||||
| **F2** | Fa la finestra més gran |
|
| **F2** | Fa la finestra més gran |
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ class Input {
|
|||||||
{Action::START, KeyState(SDL_SCANCODE_RETURN)},
|
{Action::START, KeyState(SDL_SCANCODE_RETURN)},
|
||||||
|
|
||||||
// Menu de servicio
|
// Menu de servicio
|
||||||
{Action::SERVICE, KeyState(SDL_SCANCODE_0)},
|
{Action::SERVICE, KeyState(SDL_SCANCODE_F12)},
|
||||||
{Action::SM_SELECT, KeyState(SDL_SCANCODE_RETURN)},
|
{Action::SM_SELECT, KeyState(SDL_SCANCODE_RETURN)},
|
||||||
{Action::SM_BACK, KeyState(SDL_SCANCODE_BACKSPACE)},
|
{Action::SM_BACK, KeyState(SDL_SCANCODE_BACKSPACE)},
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ class Input {
|
|||||||
{Action::CHANGE_LANG, KeyState(SDL_SCANCODE_F9)},
|
{Action::CHANGE_LANG, KeyState(SDL_SCANCODE_F9)},
|
||||||
|
|
||||||
{Action::RESET, KeyState(SDL_SCANCODE_F10)},
|
{Action::RESET, KeyState(SDL_SCANCODE_F10)},
|
||||||
{Action::SHOW_INFO, KeyState(SDL_SCANCODE_F12)}} {}
|
{Action::SHOW_INFO, KeyState(SDL_SCANCODE_F11)}} {}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Gamepad {
|
struct Gamepad {
|
||||||
|
|||||||
Reference in New Issue
Block a user