I'm working on a Xevious clone. Things have been going smoothly but I noticed that obj_bomb_explosion is spawning incorrectly. In debug mode it shows that there are 30+ instances when there should only be 1 or 2 at a time. Once the viewport reaches the top of the layout you can see a pile of these objects in the upper left corner. I can't figure out what is causing this. They are only supposed to spawn when a ground installation is destroyed. If anyone can offer some insight I'd be very grateful.
1drv.ms/u/s!AgSGj69HoR2xashTmxD0G4ZPrNU
1drv.ms/u/s!AgSGj69HoR2xa4SoV1uj2nDMWRo
Because you have no target before you fire the first time so your logic reads 0 = 0 which is true, and because it's running every tick it fires 30 a second
Develop games in your browser. Powerful, performant & highly capable.
Thanks! That was a huge help. My afternoon can now progress once more:)