func_graphics_max2d_colliderect.rst 653 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .. _func_graphics_max2d_colliderect:
  2. ===========
  3. CollideRect
  4. ===========
  5. CollideRect -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CollideRect:Object[](x,y,w,h,collidemask%,writemask%,id:Object=Null)
  10. Pixel accurate collision testing between image layers
  11. The @collidemask specifies any layers to test for collision with.
  12. The @writemask specifies which if any collision layers the @image is added to in it's currently transformed state.
  13. The @id specifies an object to be returned to future #CollideImage calls when collisions occur.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. Nothing.
  19. Examples
  20. ========
  21. See Also
  22. ========