Jump to content

[Help] Collide same sprite with different image


shohan4556
 Share

Recommended Posts

You see why not use frameworks.


Do not try the large square as a square, treat him like two triangles, then each point of the four that make up the small square, you calculate if within any triangle, if only one is inside is that your picture small collided with one of the two triangles.

 

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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