draw_sprite_part_ext - 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) but now with scale factors and a color and transparency setting.

Parameters

  • sprite
  • subimg
  • left
  • top
  • width
  • height
  • x
  • y
  • xscale
  • yscale
  • color
  • alpha

Return Values

Document return values.

Example Call

Example of using the function.
⚠️ **GitHub.com Fallback** ⚠️