FunctionsAnimationGenerateTempCanvasAnimationGenerateTempCanvas CallableAnimationGenerateTempCanvas(C: Character, A: Asset, W: number, H: number): HTMLCanvasElementGenerates a temporary canvas used draw on for dynamic assets. Careful! The width of the canvas should never be higher than 500px.ParametersC: CharacterCharacter for which the temporary canvas isA: AssetAsset for which the canvas isW: numberWidth of the canvas (can be changed later)H: numberHeight of the canvas (can be changed later)Returns HTMLCanvasElementThe temporary canvas to use
Generates a temporary canvas used draw on for dynamic assets. Careful! The width of the canvas should never be higher than 500px.