rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.21k stars 263 forks source link

How to set a fixed width and scale a board? #385

Closed songyukino1 closed 9 months ago

songyukino1 commented 1 year ago

I want to make the board have a fixed width, such as 600px, and then scale the board to fill the entire x-axis because I have a preset screen width of 600px. How can I achieve this?

rexrainbow commented 1 year ago

Board plugin series does not support this feature directly. Set x, y, cellWidth, cellHeight parameters in Quad, or Hexagon