What type of game is it? The 8-direction behaviour is for top-down style games where the camera is above. Does it need to be 8-direction? There are other behaviours you can use for jumping.
In this game, the player controls the character, freely flying in all directions (without gravity), and dodges various objects flying into it. In addition, it can repel solid objects for acceleration.