Since most of the game is about button smashing, I was thinking of adding a new training mode / mini-game, where you have to hit the keyboard like crazy in order to punch the force machine.

Just like in this drawing made by Simplemente Yo:
1693318264_inscripcion_a_introduiccion.png

And the resulted number will be the amount of time you pressed the key during the time imparted. Nothing too fancy, just a keyboard smash minigame 😛

Esto suena genial, añadir mas variedad al juego fuera de las peleas da un aire fresco a devolution  😁

Thinking about it while driving under the rain got me to create a new section that will replace JANKEN in the main menu. It will be called MINI-GAMES, and inside we'll find JANKEN and PUNCHING MACHINE, for starters.

Example:
https://cps-check.com/keyboard-cps#google_vignette

smash keyboard for 10 seconds

Result:
93 hits in 10 seconds = Your speed: 9.30 hits per second
+ display record

La base fonctionne.

Il reste à faire :

TODO:

  • Créer une icone pour le menu principal
  • Ajouter les portraits du gars qui décompte le score
  • Le portrait passe en mode surprised si le score > 137 (Mr. Satan) ?
  • Forcer l'affichage du stance
  • Ajouter du juice quand on appuie sur ATTACK
  • Faire l'animation de résolutions (avec le moteur du jeu)
  • Utiliser le compte à rebours du jeu plutôt que celui programme vite fait pour tester
  • Cacher la barre de SP

BUG:

  • Pourquoi le punching machine n'est pas pixelisé ?
  • Le choix du fighter dans le coverflow n'update pas le portrait dans l'écran Punching Machine

My max is 91 in 10 seconds. So long for the score > 137 (Mr. Satan) 😛

So 0 is already "Go back to training..."
<= 50, the machine will not move.
> 50, the machine will fly and the portrait will be impressed.

Or I could multiply the result per 2 to obtain something around the DBZ score system, but that will not be the amount of key press one made within 10 seconds anymore. In that case, the trigger to move the machine will be 69 instead of 50 (69x2=138 > Mr.Satan). What do you think?

Or I could make the test over 20 seconds instead of 10. This will be tougher for the player, and more precise. And the explanation could be: "You have 20 seconds to smash the ATTACK button and show your strength. Make it count! For the record, Mr. Satan's best score is 137."

By the way, what's your personal record ?

Edit:
20 seconds is intense 😀

1721600644_captura_de_pantalla_2024-07-21_192138.jpg

Bugs à corriger :

  • La barre SP apparait encore (ex: agnilasa, ou piccolo kami)
  • Le bouton PAUSE ne fonctionne pas