I’m creating an enemy that shoots bullets in 8 - directions simultaneously using repeat and variable.
It works by having a variable “Bullet Angle” that will add 45 every time it occurs then it will be the force angle to the bullet. So if repeated multiple times, the bullets will have force in 0, 45, 90, 135, 180, 225, 270, 315, 360. (8 - directions bullet) yay!
The problem is that sometimes, the bullet’s force angle is only on one angle. (for ex. 45)
I track the change of the variable using text and I saw that sometimes the variable only adds 45 once and not repeats up to 7. I try to adjust the time before it resets so it can fully repeat 7 times but it’s not the problem. Hope someone can help me with this. Thanks in advance!