Skip to content

We implicitly depend on global Phaser in some places, not the Phaser passed in to the constructor #548

@joshlory

Description

@joshlory

gameControllerConfig.Phaser is only used in GameController.js:

var Phaser = gameControllerConfig.Phaser;

But all of LevelView.js still references the global window.Phaser:

this.waveShader = new Phaser.Filter(this.game, this.uniforms, [`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions