I’m trying to create a bullet hell style game and I’m struggling with some logic …
I am instantiating three instances of the same object (ship) at the beginning of the scene and at a certain distance a timer is triggered that causes the objects to fire a number of bullets.
I want these three instances to fire just a set number of bullet and then pause the timer. Example: Ship 1 = fire 3 bullets, Ship 2 = fire 4 bullets, Ship 3 = fire 1 bullet.
are you want the 3 ship shoot at once but different number of bullets? are you want one ship shoot all its bullets ( 4, 3 or 1) at once, or with a litle delay?
The first ship fires 4 bullets, the second ship fires 3 bullets, and the third one fires 1 bullet. After each ship has fired its quantity of bullets it stops firing.
will be if I want to. I’m sure I can figure out, but I need to know every detail because i don’t want to work with it twice. thats why I asking questions instead of answering tham. because you withhold tha information.
I think Gyuszko is asking you what is the exact pattern of bullet fire that you have in mind.
For example
Tank 1 - fire 4 bullets simultaneously in linear path (same time, same direction). This would appear like one bullet being fired.
Or
Fire 4 bullets at the same time in a spread formation (same time, bullets going in different directions).
Or
Fire 4 bullets consecutively, along the same path (not at the same time, one after the other)
Or
Fire 4 bullets consecutively, spread formation (not at the same time, and in different directions)
And then should all Tanks be firing their bullets at the same point in time, or do you want Tank 1 to fire bullets first, then stop… Switch to Tank 2 and fire it’s bullets… etc…