Open mwcz opened 5 years ago
Something like:
new HeroEngine({ // the Tiled json file containing your game level: "assets/level.json", // optional, customize the configurations passed into Phaser.Game() phaser: { type: Phaser.AUTO, width: 800, height: 600, backgroundColor: '#2d2d2d', parent: 'phaser-example', } });
This will be the top level wrapper of the Hero Engine. also allow for pass through object for the Phaser game constructor.
Something like: