Scale Game


#1

How can we scale the game to fit the browser
thank you


#2

you can scale the canvas using CSS transform, this is by far the easiest, but the result might be blury image if you scale up

or

you can change the width and height of the canvas, but you also need to reposition your sprites,


#3

Hi @Wuhao, i did like that, but the button cant be clicked anymore? How to fix that?