T
teamrocketboyz
Guest
hello all i have a bullet object that my enemy fires and upon the bullets creation i have this code.
(very basic i know)
the problem is that if i have 2 or more enemies on screen then all of the bullets show go in the direction of the 1st enemies bullet.
i want each enemy bullet to go towards the direction that he was facing. i know its an easy fix but i cant figure it out.
PS i really do need to get my head in the manual.
Code:
direction = o_enemy.image_angle
speed = 20
image_angle = direction
the problem is that if i have 2 or more enemies on screen then all of the bullets show go in the direction of the 1st enemies bullet.
i want each enemy bullet to go towards the direction that he was facing. i know its an easy fix but i cant figure it out.
PS i really do need to get my head in the manual.