What I have now:
A ball spawning in the centre of the screen and I'm at the moment using random(360) to make it shoot in random directions with the bullet behaviour.
What I want to do:
I want to control the direction which random(360) won't allow. For example if the generated random number is around 90 or 270 it means that the ball shoots down or up, which I don't want. I want to direct the ball a bit more to the left and right.
How do I go around this and solve the issue?