Hi,
I have a script set up so that, when Space is pressed, an enemy called a Boombox in my game will be destroyed and release bullets in 8 different directions, at 45 degree angles (e.g. 0, 45, 90 and so on). However, the enemy just fires lots of bullets down rather than firing them in different directions. I know that there are lots being fired because of the debugger, but they are all heading in the same direction.
Here is my code:
<img src="http://i.imgur.com/keRrEgS.png" border="0">
(If the picture doesn't work, here it is)
Can anybody help me?
Thank you!