Hi guys
I have been stuck, trying to figure out this: I have a bunch of spawning objects outside the layout and I d like them to spit projectiles in random order.
I saved their X coordinates in a array and set up a function to pair the right y value for each x value that is randomly picked (so the projectile spawn exactly in the middle of the spamming object), like this:
The problem is that only 3 out of 4/5 spawning points work, I connot figure out why....