public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: SaveBGS
  • Original author: ovate
  • Original date: June 19, 2018
  • Source thread: https://forums.rpgmakerweb.com/threads/savebgs.96674/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

SaveBGS - 2018/06/19 (Ver.1.0) Creator name: kido0617 Overview Able to save or resume BGS with a plugin command

Archived First Post

SaveBGS - 2018/06/19 (Ver.1.0)

Creator name: kido0617

Overview
Able to save or resume BGS with a plugin command

Features
- It's possible to save/ replay BGS
- Short code

Plugin Command-
To save BGS
Code:
SaveBGS

Resume BGS
Code:
ReplayBGS

Plugin preview-
Code:
/*---------------------------------------------------------------------------*
 * 2018/06/19 kido0617
 * http://kido0617.github.io/
 * Public Domain
 * Please use freely, credit not necessary
 * Ver.1.0
 *---------------------------------------------------------------------------*/

/*:
 * @plugindesc Able to save or resume BGS with a plugin command
 * @author kido0617
 * @help
 * Plugin Command
 *  ・To save BGS
 *     SaveBGS
 *  ・Resume BGS
 *     ReplayBGS
 *
*/


(function(){

  var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
  Game_Interpreter.prototype.pluginCommand = function(command, args) {
    _Game_Interpreter_pluginCommand.call(this, command, args);
    if (command === 'SaveBGS') {
      $gameSystem.saveBgs();
    }else if(command === 'ReplayBGS'){
      $gameSystem.replayBgs();
    }
  };

  Game_System.prototype.saveBgs = function() {
    this._savedBgs = AudioManager.saveBgs();
  };

  Game_System.prototype.replayBgs = function() {
    if (this._savedBgs) {
      AudioManager.replayBgs(this._savedBgs);
    }
  };

})();

Credit and Thanks: kido0617

Terms of Use- Free for commercial and non-commercial use.

License - Public Domain

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/ycgwv73nb9o4pgr/SaveBGS.js?dl=1

Features Mentioned

  • It's possible to save/ replay BGS
  • Short code
  • Plugin Command
  • To save BGS
  • Code:
  • SaveBGS
  • Resume BGS
  • ReplayBGS
  • Plugin preview
  • /
  • 2018/06/19 kido0617
  • http://kido0617.github.io/
  • Public Domain
  • Please use freely, credit not necessary
  • Ver.1.0

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

* Please use freely, credit not necessary * Ver.1.0 *---------------------------------------------------------------------------*/ /*:

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar