GreatBigBore Posted July 3, 2016 Share Posted July 3, 2016 In my game my sprites can spawn at coordinates that have them overlapping already existing sprites. Is there a way to ignore this overlap until the two sprites separate, and then turn on collision detection? In case it matters, I'm using group-level collision detection at the moment. Link to comment Share on other sites More sharing options...
GreatBigBore Posted July 3, 2016 Author Share Posted July 3, 2016 So far I'm putting my new sprites into a group that has no collision detection. In the update function, I check the .touching property of the sprites in this group. When .touching.none === true, I move the sprites into the normal group that has collisions turned on. If anyone has any better ideas, I'd love to hear them. Link to comment Share on other sites More sharing options...
Recommended Posts