- Joined
- Dec 10, 2017
- Messages
- 12
- Reaction score
- 2
- First Language
- ⠀⠀⠀⠀⠀⠀⠀⠀English
- Primarily Uses
- RMMV
Hi there, I'm looking for an RPG Maker MV plugin that can change the background to an animated GIF.
I am aware of Galvs old animated plugin that allows you to use sequenced PNG images, but it doesn't work at all for me when it comes to using very very large GIF animations that have over 120 frames sequenced into one row that's over 36,000 pixels long, it's honestly just not even okay that I have to do that, and the plugin just seems to break for an image that large.
There is another piece of code that was written in a forum post years ago, but it doesn't work either:
I think enough is enough, as for over 5 years now people have been wanting an RPG Maker MV plugin that allows you to have animated gif backgrounds similar to earthbound/mother series, and for five years someone still hasn't done it! I think it'd be so so nice if someone in the community could go about doing something like this.
I am aware of Galvs old animated plugin that allows you to use sequenced PNG images, but it doesn't work at all for me when it comes to using very very large GIF animations that have over 120 frames sequenced into one row that's over 36,000 pixels long, it's honestly just not even okay that I have to do that, and the plugin just seems to break for an image that large.
There is another piece of code that was written in a forum post years ago, but it doesn't work either:
JavaScript:
Graphics._createRenderer = function() {
PIXI.dontSayHello = true;
var width = this._width;
var height = this._height;
var options = {
view: this._canvas,
transparent: true
};
try {
switch (this._rendererType) {
case 'canvas':
this._renderer = new PIXI.CanvasRenderer(width, height, options);
break;
case 'webgl':
this._renderer = new PIXI.WebGLRenderer(width, height, options);
break;
default:
this._renderer = PIXI.autoDetectRenderer(width, height, options);
break;
}
} catch (e) {
this._renderer = null;
}
};
Spriteset_Base.prototype.createBaseSprite = function() {
this._baseSprite = new Sprite();
this._baseSprite.setFrame(0, 0, this.width, this.height);
this._blackScreen = new ScreenSprite();
this._blackScreen.opacity = 100;
this.addChild(this._baseSprite);
this._baseSprite.addChild(this._blackScreen);
};
ImageManager.gifBackground = function(gif){
return 'url("' + gif + '") no-repeat scroll #000 top center/cover';
}
Spriteset_Battle.prototype.createBattleback = function() {
document.getElementById('GameCanvas').style.background = ImageManager.gifBackground("img/battlebacks2/GIFT.gif");
};
Spriteset_Battle.prototype.locateBattleback = function() {
};
Scene_Title.prototype.createBackground = function() {
document.getElementById('GameCanvas').style.background = ImageManager.gifBackground("img/titles1/GIFT.gif");
};
Scene_Title.prototype.centerSprite = function() {
};
I think enough is enough, as for over 5 years now people have been wanting an RPG Maker MV plugin that allows you to have animated gif backgrounds similar to earthbound/mother series, and for five years someone still hasn't done it! I think it'd be so so nice if someone in the community could go about doing something like this.