holywyvern / mv-pixi-upgrade

A base project than uses PIXI V3 and not V2.
Creative Commons Zero v1.0 Universal
13 stars 3 forks source link

Tint screen doesn't change in canvas mode. #9

Open Hudell opened 9 years ago

Hudell commented 9 years ago
$gameScreen.startTint

This method doesn't work when the game is being run in canvas mode.

caladier commented 8 years ago

New to Git but I believe this will correct the issue if applied in rpg_core.

ToneSprite.prototype = Object.create(PIXI.Container.prototype);
ToneSprite.prototype.constructor = ToneSprite;

ToneSprite.prototype.initialize = function() {
     PIXI.Container.call(this);
     this.clear();
 };