Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {CFG as config} from './config.js';
- // Scenes
- import {LoadingScene} from './scenes/loading.js';
- import {AttractScene} from './scenes/attract.js';
- import {GameScene} from './scenes/game.js';
- // Classes / Plugins
- import {CardClass} from './calsses/Card.js';
- //import {ButtonClass} from './calsses/Button.js';
- var GreywaterGame = new Phaser.Game({
- type: config.type,
- width : config.width,
- height : config.height,
- background: '#ffffff',
- scene : [
- LoadingScene,
- AttractScene,
- GameScene,
- ],
- plugins: {
- global : [
- {key: 'CardPlugin', plugin: CardClass, start: true},
- //{key: 'ButtonPlugin', plugin: ButtonClass, start: true},
- ]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement