The title might be a bit misleading but that was the best I could come up with.
So now to the main part.
I am having a hard time making the controls for a game which was inspired by Ball Wars By Brackeys and a classic of game of Capture the Flag. Basically you either shoot and kill your opponent or be the first one to capture their crystal by standing on top of it. The controls are what I could decipher from the video. But I am having a lot of difficulty aiming because of the way I implemented the game by seeing the video.
Also I want both the players to play from the same keyboard as of now. So any help regarding how to implement the aiming would help me out a lot.
The controls are WASD to move and T to Shoot and Y to Jump for Player 2 and Arrow Keys to move Space to jump and Ctrl to shoot for Player 1.
The code is available on Github: https://github.com/Rud156/Sketches
The project name is: ballBlasters
Any help would be gladly appreciated.