I am programming a bossfight in gamemaker, and I want my boss to shoot multiple fireballs simultaneously, but all in a bit of a different direction, a little bit like this, from rogue soul:
It (obviously) doesn't work, and I have been trying for over an hour.
My script is:
//in the create event of fireball 1
direction = hero + 10
speed = 12
//in the create event of fireball 2
direction = hero + 5
speed = 12
and so on.
It just refuses to work. The fireballs go a completely random direction, independent of where the hero is.
hero
direction variable? \$\endgroup\$ – DMGregory♦ Jun 30 '19 at 12:27