Hello! I’m super new to Phaser 3, and I’m trying to figure out how to use the cursor to include “slam” and “dash” like moves for a game that primarily uses WASD for player movement.
For example, the player sees an enemy during a level run and chooses to ram into it using a dash move, like how Kirby/Sonic does. How do I integrate the mouse buttons for the dash/slam moves while still using WASD? I’m guessing it’s a different function, but I don’t know how to do it.
(I’m also learning how to game code, and I yearn to make more games in the future. All and any help is greatly appreciated. Please + Thank you, MT )