Jump to content

How to detect if a group sprite is within a certain area of the screen?


Uhfgood
 Share

Recommended Posts

I'm making an asteroids 'clone' -- and I want to respawn my player in the center when he gets hit, is there a way to detect with sprites in a group are in a certain area of the screen, or do I need to write a function that iterates through each asteroid and checks it manually? (or make a blank sprite somehow and then just do a regular collision check as per normal?)

 

Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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