Skip to main content

AnimationGenerateTempCanvas

Callable

  • AnimationGenerateTempCanvas(C: Character, A: Asset, W: number, H: number): HTMLCanvasElement

  • Generates a temporary canvas used draw on for dynamic assets. Careful! The width of the canvas should never be higher than 500px.


    Parameters

    • C: Character

      Character for which the temporary canvas is

    • A: Asset

      Asset for which the canvas is

    • W: number

      Width of the canvas (can be changed later)

    • H: number

      Height of the canvas (can be changed later)

    Returns HTMLCanvasElement

    • The temporary canvas to use