Spawning Actor in same spot Destroy Most Recent
Hey gs forum,
I am almost finished with a game and am having one problem with my spawner. The spawner spawns bad guys randomly to 21 different locations. The bad guys dont move at all, so as the game keeps going more and more bad guys are spawned. The problem is that it looks bad because my bad guys start out as small invisible blocks when the reach an alpha of 1 they come into existence. I tried to destroy bad guys when they overapp or collide with bad guys and Nothing happend. Then I tried to mess with the layering and spawn behind actor, thinking that at least we wouldnt have to see the bad guys spawning on top of each other but no dice. Does anyone know a fix for the problem I am having? It would be greatly appreciated.
Thanks
SocializeTwitter , **My Site ** **Play Loop Zen Free **iOS HERE, Google Play HERE
Comments
In your enemy make sure the Fixed Rotation box (under Physics) is checked.
Then in your 'Enemy' actor place a collide behaviour and set it to collide with 'Enemy'.
@Socks
That was indeed the problem. Thanks for your help and everything you do on the forum!
SocializeTwitter , **My Site ** **Play Loop Zen Free **iOS HERE, Google Play HERE