Skip to content

last working version that works with Phaser CE is from August 22, 2016? #32

@papayaah

Description

@papayaah

at this commit, i get this to work with Phaser CE v2.10.2 5a28594#diff-63f0e32da459bffac0edf8f1f427b5be

the issue is context is undefined:

Phaser.Plugin.SlickUI.prototype.getRenderer = function(name) {
    if (void 0 !== this.renderer[name]) return this.renderer[name];
    var theme = this.game.cache.getJSON("slick-ui-theme"), resolveObject = function(name) {
        var namespace = name.split("."), context = window;
        for (var i in namespace)  context = context[namespace[i]];        
        return context;
    };

where it tries to loop through all the namespace and tries to pull it from context[namespace[i]] but context is just a window - is that the expected?

cc @Flaxis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions