how to recreate the movement like the contra in phaser

I do not know how to do the movements of the game contra nes when I crouch, it does not appear on the floor automatically as in the game, I can not aim at 45 degrees or 315 if I want to jump vertically it stays still, it only applies the jump if I am typing D + SPACE and not SPACE alone.
On the internet I only found basic movements such as right left and jumping but nothing like the game contra that applies all 2D movements I do not have much experience in phaser I hope you help me greetings