Function color

  • Set the color for drawing rectangles, particles, texts, and characters. Setting the color prior to char() will recolor the pixel art. Use color("black") to restore and use the original colors.

    Parameters

    • colorName: "transparent" | "white" | "red" | "green" | "yellow" | "blue" | "purple" | "cyan" | "black" | "light_red" | "light_green" | "light_yellow" | "light_blue" | "light_purple" | "light_cyan" | "light_black"

    Returns void

Generated using TypeDoc