Jump to content

Newbie question about overlap method on a group


Recommended Posts

If I use the overlap method on a single group of sprites, I noticed that the performance is quite good. Even if I have something like 100 sprites in the group, overlap(spriteGroup) has low impact on performance. My problem is that I want to perform actions on the sprites that do overlap when I run overlap on a single group (like overlap(spriteGroup)). Do I need to have a first and second paramater to use the overlapCallback? This might be a stupid question. But I can't seem to use the overlapCallback  unless the first and second parameters are set. 

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...