Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Hero Engine constructor #43

Open
mwcz opened this issue Dec 4, 2018 · 1 comment
Open

Create Hero Engine constructor #43

mwcz opened this issue Dec 4, 2018 · 1 comment
Assignees
Milestone

Comments

@mwcz
Copy link
Member

mwcz commented Dec 4, 2018

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',
  }
});
@mwcz mwcz added this to the Engine 0.1 milestone Dec 4, 2018
@mwcz mwcz self-assigned this Dec 4, 2018
@Jared-Sprague
Copy link
Member

This will be the top level wrapper of the Hero Engine. also allow for pass through object for the Phaser game constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants