func_graphics_max2d_imagescollide.rst 601 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. _func_graphics_max2d_imagescollide:
  2. =============
  3. ImagesCollide
  4. =============
  5. ImagesCollide -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. ImagesCollide(image1:TImage,x1,y1,frame1,image2:TImage,x2,y2,frame2)
  10. Tests if two images collide
  11. #ImagesCollide uses the current Rotation and Scale factors from the most previous
  12. call to #SetScale and #SetRotation to calculate at a pixel level if the two images collide.
  13. Parameters
  14. ==========
  15. Return Values
  16. =============
  17. True if any pixels of the two images specified at the given location overlap.
  18. Examples
  19. ========
  20. See Also
  21. ========