I'm back, this time with 35% less failure!
No, seriously. My shotgun danmaky finally came through, after giving up on the complicated circle thing.
But yeah, now I have more circular problems.
loop(24){
CreateShot02(GetX*cos(60), GetY*sin(60), 1, angle, -0.1, -3/1, BLUE12, 0);
angle += 360/24;
That's the general gist of it. When I use it, the bullets don't spawn even near the boss, and honestly, tinkering around didn't work too good. So, what I'm asking is...
I want bullets that spawn in a cirlce AWAY from the boss. Like, a 100px radius away. I have the acceleration part down, and an alternative to bullet rotation. One problem though-
Through all my time hunting through tutorials, I can't figure out how to get my bullets to spiral. My bullets, like me, apparently hate circles. I haven't had too many errors with this one, just the script written wrong.I'm kinda unsure of how to do it right. So, I came for help. Once I get the basics down, I should be able to take elements and get them together.
Also, I'm kind of uneducated. I haven't a clue what (sin) and (cos) even are, tangents included, except for one thing-
They involve the dreaded no-sided one.
So, I'm basically asking for this:
How to get bullets to spawn in a radius away from the boss but still centered on said boss
How to curve bullets in a uniform way to produce spirals
A crash course in circle logic (As in, what is a (sin), and what is a (cos)?
I can has cheeseburger? :derp:
Oh yeah. If I missed a tutorial with this in it, just give me that. Also, feel free to slap me if that's the case. :V