[Solved] Have a collision only detected once

Yep – this happens. The way to handle it (you can’t get sprite-kit to NOT call didBegin multiple times in some circumstances) is to make sure that your contact code accommodates this and that handling the contract multiple times does not cause a problem (such as adding to the score multiple times, removing multiple lives, … Read more

[Solved] Shooting. Collision of the shot with a collection of List

Without claiming to rework your design, I added collection of dead invaders(ArmyOfInvaders.deadInvader) to stored those ones, who already shot, and changed InvaderGotShot and DrawItem methods. I got rid of Invader.invader collection and introduced local variable in Invader.InitializeInvader instead of it to prevent misassigning. Please take a look: class Program { static void Main() { Settings.ScreenSettings(); … Read more