IsItSkip (Kernel)¶
-
IsItSkip
(view loop cel x y)¶ Checks whether a pixel in a cel is transparent. This can be used to enhance hit testing on game objects, especially if they have big holes in them.
Parameters: - view (number) – View number.
- loop (number) – Loop number.
- cel (number) – Cel number.
- x (number) – The x coordinate in the view, relative to the top left.
- y (number) – The y coordinate in the view, relative to the top left.
Returns: TRUE if the pixel is transparent.