I would like to use WASD keys to shoot a a bullet any of the 8 directions, like how the 8 direction movement works.
Pseduo code
- On Key Pressed D : Set Angle 0
- IsKeyD set true
- On Key Pressed S : Set Angle 90
- On Key Pressed S : Set Angle 135
- AND IsKeyD true
But the last event never seems to run.