func_graphics_max2d_imagescollide2.rst 649 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. _func_graphics_max2d_imagescollide2:
  2. ==============
  3. ImagesCollide2
  4. ==============
  5. ImagesCollide2 -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. ImagesCollide2(image1:TImage,x1,y1,frame1,rot1#,scalex1#,scaley1#,image2:TImage,x2,y2,frame2,rot2#,scalex2#,scaley2#)
  10. Tests if two images with arbitrary Rotation and Scales collide
  11. #ImagesCollide2 uses the specified Rotation and Scale paramteters
  12. to calculate at a pixel level if the two images collide (overlap).
  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. ========