じ☆ve冰风 发表于 2026-7-18 16:20:31

TSR_SmartTitle





author
TSR
Download
TSR_SmartTitle

Use plugin commands to change the Title screen music and backgrounds in game.

The title screen settings are stored in the game file, so each saved game files can have its own title music and backgrounds. When the title screen opens, it will play the music and display the backgrounds from the last saved game.

If no saved files exist, the title screen settings will refer to the data base entries.

                Code:       
* Plugin commands
* ============================================================
*
* Change Title Music
* ==================
* Use the 'Change Title Music' plugin command whenever you want to
* change the title screen music from in game.
*
* The command arguments are the basic BGM object properties:
*
*          -name:   the name of the bgm file stored in audio/bgm folder
*          -volume: the volume of the title screen music
*          -pitch:the pitch of the title music
*          -pan:    the pan of the title music
*
*
* In MV, use the command as such:
*
*          titlemusic name volume pitch pan
*
*            Example: titlemusic Theme4 100 100 0
*
*
* Change Title Background 1 and 2
* ===============================
* Set the name of the background image stored in the
* img/titles1 or titles2 folders.
*
*    MV syntax:
*
*      titlebg1 name
*
*          Example: titlebg2 Floral
*
*
*
* Script Calls
* ============
* The script calls equivalent of the above.
*
*      $gameSystem.setTitleMusic({sound object})
*
*      $gameSystem.setTitleBg1(fileName)
*
*      $gameSystem.setTitleBg2(fileName)
*
*
*   Example:
*
*      $gameSystem.setTitleMusic(
*         {name: 'Theme4', volume: 100, pitch: 100, pan: 0}
*      );
*      $gameSystem.setTitleBg1('Ruins');
*      $gameSystem.setTitleBg2('Medieval');
*
*


Spoiler: Terms                Code:       
* =======================================================================================
* == Term of Usage ======================================================================
* =======================================================================================
*
* Use in any independant RPG Maker MZ or MV projects, including commercials.
*
* Credit is required for using this Plugin.
* For crediting, use 'TSR' along with one of
* the following terms:
*      'The Northern Frog' or 'A frog from the north'
*
* Do not change the Header or the Terms of usage.
*
* Editing of the code is allowed for your personal use.
*
* DO NOT REDISTRIBUTE!
* If you want to share it, share the link to my itch.io account:
* https://the-northern-frog.itch.io/
*
*


Regards





本贴来自国际rpgmaker官方论坛作者:TSR处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/tsr_smarttitle.146868/
页: [1]
查看完整版本: TSR_SmartTitle