23 lines
366 B
JavaScript
23 lines
366 B
JavaScript
import 'phaser';
|
|
|
|
export default {
|
|
type: Phaser.AUTO,
|
|
width: 900,
|
|
height: 680,
|
|
scale: {
|
|
mode: Phaser.Scale.FIT,
|
|
autoCenter: Phaser.Scale.CENTER_BOTH,
|
|
width: 900,
|
|
height: 680
|
|
},
|
|
backgroundColor: 0xBDCDD1,
|
|
// backgroundColor: 0xCFEFFC,
|
|
physics: {
|
|
default: 'arcade',
|
|
arcade: {
|
|
gravity: { y: 0 },
|
|
debug: false
|
|
}
|
|
},
|
|
};
|