I'm trying to play a screen weather effect in the middle of an animation. I have the following function that I call from
It works, but there's one problem - it doesn't fill the whole screen. There's a band on the left and top that are unaffected. Weather effects played on the map (through events) fill the screen, so I must be missing something.
Here's a partial screenshot showing the issue, omitting anything that gives away details of my game (I just cut off the battle log, the status window, and the sideview actors):
I took it while paused in the debugger, so I think that may have greyed it out a little or something, but it should get the idea across.
Sprite_Animation.prototype.processTimingData:
JavaScript:
Sprite_Animation.prototype.createWeather = function(type, power, duration) {
this._weather = new Weather();
this._weather.type = type;
this._weather.power = power;
this._weatherDuration = duration;
this.addChild(this._weather);
};
It works, but there's one problem - it doesn't fill the whole screen. There's a band on the left and top that are unaffected. Weather effects played on the map (through events) fill the screen, so I must be missing something.
Here's a partial screenshot showing the issue, omitting anything that gives away details of my game (I just cut off the battle log, the status window, and the sideview actors):
I took it while paused in the debugger, so I think that may have greyed it out a little or something, but it should get the idea across.