Canvas size

Freedo

New member
Joined
Oct 1, 2020
Messages
6
Hi, is there anyway to make the canvas on windows desktop full screen...?
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,281
Have a look at the app configuration settings:

For HTML5 you have

Code:
'Html5 settings, defaults shown
'
#HTML5_APP_FILENAME="CerberusGame.html" 'Set the default name for the html outfile.
#HTML5_APP_ICON=""                      'set the name of a ico/png file which will be used as a favicon. If not provided, Trans will use the standard favicon.
                                        'PNG files will be converted to ICO files. Without a filepath, Trans will look in the folder where your .cxs source file is located at.
#HTML5_APP_TITLE="CerberusGame"         'Set the title inside the browser tab.
#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
#HTML5_CONSOLE_SHOW=True                'Set it to False to hide the splitter and console DIV in your file.
#HTML5_WEBAUDIO_ENABLED=True            'Set to false to disable webaudio support for mojo audio, and to use older multimedia audio system instead.
 
Top Bottom