Commit de364cdb authored by 18손재민's avatar 18손재민 Committed by 18류지석

이제 화면 크기에 게임 화면이 맞춰짐

parent 2fdf73fd
...@@ -2,6 +2,11 @@ var config = { ...@@ -2,6 +2,11 @@ var config = {
type: Phaser.AUTO, type: Phaser.AUTO,
width: 1280, width: 1280,
height: 720, height: 720,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH
},
autoRound: false,
physics: { physics: {
default: 'arcade', default: 'arcade',
arcade: { arcade: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment