加载 ogg 音频文件 #10

main
Salted 2 years ago
parent 5fb1756868
commit 2eaa1c0235
Signed by: SaltedFish
GPG Key ID: FCF3F47D9BD7AD42

@ -22,6 +22,7 @@
## 更新记录 ## 更新记录
- **2022/10/23****咸鱼**;加载 ogg 音频文件 #10
- **2022/10/17****不明枪兵**;彩蛋完成 - **2022/10/17****不明枪兵**;彩蛋完成
- **2022/10/16****不明枪兵**;推进剧情 - **2022/10/16****不明枪兵**;推进剧情
- **2022/10/16****乐子人**;优化地图,确认内容丢失情况 - **2022/10/16****乐子人**;优化地图,确认内容丢失情况
@ -51,4 +52,4 @@
- **2022/7/31****面具**;写入狗莉技能,等 - **2022/7/31****面具**;写入狗莉技能,等
- **2022/7/24****面具**;写入老王父女技能,等 - **2022/7/24****面具**;写入老王父女技能,等
- **2022/7/24****咸鱼**;添加`Test_Quests.json`来能启动测试。 - **2022/7/24****咸鱼**;添加`Test_Quests.json`来能启动测试。
- <b>2022/7/23</b><b>面具</b>;写入南宫三八技能,优化旧技能并整理装备类型 - <b>2022/7/23</b><b>面具</b>;写入南宫三八技能,优化旧技能并整理装备类型

@ -11,6 +11,7 @@ var $plugins =
{"name":"SF_Windows","status":true,"description":"window base for salted fish plugins","parameters":{}}, {"name":"SF_Windows","status":true,"description":"window base for salted fish plugins","parameters":{}},
{"name":"SF_Scenes","status":true,"description":"scenes lib for salted fish plugins","parameters":{}}, {"name":"SF_Scenes","status":true,"description":"scenes lib for salted fish plugins","parameters":{}},
{"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}},
{"name":"SF_LoadOgg","status":true,"description":"强制加载 ogg 音频文件","parameters":{}},
{"name":"SF_SkipLoadError","status":true,"description":"try to skip load errors","parameters":{}}, {"name":"SF_SkipLoadError","status":true,"description":"try to skip load errors","parameters":{}},
{"name":"SF_AutoUpdate","status":false,"description":"v1.0.0 - Automatically update the game.","parameters":{}}, {"name":"SF_AutoUpdate","status":false,"description":"v1.0.0 - Automatically update the game.","parameters":{}},
{"name":"SF_WindowScrollCommand","status":true,"description":"v1.0 Allows you to scroll text in selected commands.","parameters":{}}, {"name":"SF_WindowScrollCommand","status":true,"description":"v1.0 Allows you to scroll text in selected commands.","parameters":{}},

@ -0,0 +1,27 @@
//=============================================================================
// SaltedFish Plugins - Load Ogg Audio File
// SF_LoadOgg.js
//=============================================================================
"use strict";
var Imported = Imported || {};
Imported.SF_LoadOgg = true;
var SF_Plugins = SF_Plugins || {};
//=============================================================================
/*:
* @plugindesc force load ogg audio file
* @author SaltedFish
*
* @help
* just enable this plugin.
*/
//=============================================================================
SF_Plugins.SF_LoadOgg = SF_Plugins.SF_LoadOgg || {};
SF_Plugins.SF_LoadOgg.version = 1.0;
SF_Plugins.SF_LoadOgg.AudioManager_audioFileExt = AudioManager.audioFileExt;
AudioManager.audioFileExt = function () {
return ".ogg";
};
Loading…
Cancel
Save