- Joined
- Jul 14, 2020
- Messages
- 38
- Reaction score
- 18
- First Language
- English
- Primarily Uses
- RMMV
So I got it working in Yanfly's CTB plugin. Just did as follows in Window_CTBIcon.prototype.reduceOpacity:
But when I do something similar on the Sprite_Enemy.prototype.updateCollapse method in rpg_sprites.js the effect doesn't play at all.
I've played with setting many numbers for time just to see if the effect is working at all. Am I doing something wrong? Is it something to do with the fact that Sprite_Enemy is a sprite and not a window?
this.applyGWFilter();
this._GWFilter.time = this.duration;
But when I do something similar on the Sprite_Enemy.prototype.updateCollapse method in rpg_sprites.js the effect doesn't play at all.
this.applyGWFilter("dissolveUp48", 0);
this._GWFilter.time = 64;
I've played with setting many numbers for time just to see if the effect is working at all. Am I doing something wrong? Is it something to do with the fact that Sprite_Enemy is a sprite and not a window?