import Phaser from 'phaser';
import { Stage, STAGE_W, STAGE_H } from './scenes/stage';

new Phaser.Game({
  type: Phaser.AUTO,
  width: STAGE_W,
  height: STAGE_H,
  backgroundColor: '#efe4cb', // warm washi paper
  parent: 'app',
  physics: {
    default: 'matter',
    matter: { gravity: { x: 0, y: 1 }, autoUpdate: false, debug: false },
  },
  scene: [Stage],
});
