Resize canvas for html5 ?

DjPoke

New member
Joined
Sep 29, 2017
Messages
7
Hi,

I've not found how to resize the canvas for html5 in the help documents.
I'm pretty sure it is possible.
An idea ?
 
Resize at runtime? Not possible atm. Need to implement what I had done for fantomCX.
But at compile time you can set the size of the canvas with

Code:
#HTML5_CANVAS_WIDTH=640                 'Set the width of the canvas.
#HTML5_CANVAS_HEIGHT=480                'Set the height of the canvas.
#HTML5_CANVAS_RESIZE_MODE=1             '0=locked, 1=stretch, 2=resize
 
Back
Top Bottom