wernersbacher Posted July 5, 2016 Share Posted July 5, 2016 Hello, I'm using the P2 engine. There are some enemies (sprites), which have a defined polygon body. I'm using collison groups to detect collisions, which always should result in gameovers. When the player died, the sprites should get removed. I try to do that with sharks.removeAll(); and it does remove the sprites, but in debug mode I can still see the polygons, which results in instant gameover (not every time) So can anybody help me? Do i need a speciale method to remove them? Link to comment Share on other sites More sharing options...
Recommended Posts