Skip to content

Create Hero Engine constructor #43

@mwcz

Description

@mwcz

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',
  }
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions