Skip to content

The flash effect in Juicy does not work #9

Description

@SomMeri

I did not succeeded in making flash work. This is how I use it:

create: function() {
    this.juicy = this.game.plugins.add(new Phaser.Plugin.Juicy(this));
    this.flash = this.juicy.createScreenFlash('#ff0000');
    // .... 
},
update: function() {
        this.flash.flash(); //does not work
        this.juicy.shake(20, 20); //this works
    // .... 
}

Console contains no error, but nothing happen. Juicy is loaded correctly, because the shake function works fine.

The flash tween definition is also suspicious, because it does not use the duration variable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions