Background_replace - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Replaces a currently visible background with another.

Parameters

  • ind: index of the background
  • fname: string value representing the file path
  • removeback: whether or not to remove the background color, determined by the lower left pixel color
  • smooth: whether or not to make the background look smoother by interpolation

Return Values

Document return values.

Example Call

      //The following example replaces the resource id of background1 with background2
      background_replace(background1,background2,0,0,1);

NOTOC