Draw_sprite_part - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}} This function is part of the function set Drawing sprites

Notation

Description

Draws the indicated part of subimage (-1 = current) of the sprite with the top-left corner of the part at position (x,y).

Parameters

  • sprite
  • subimg
  • left
  • top
  • width
  • height
  • x (x, y) coordinate
  • y

Return Values

Document return values.

Example Call

Example of using the function.