RPG Maker Forums

Hello everybody. I am chinese uncle Mr.Ma. Net name is charmaznable.
my qq :308967459

My English is not good, so,everybody forgive me.

if you want use mp3 type in rpg maker mv 1.6.1,that look my text^_^
————————————————————————————————
1.this method only ande must use rpg maker mv 1.6.1.
2.download my dLL file (look for the post down)cover your rpg maker mv software directory——nwjs-win and nwjs-win-test .(Pay attention to the backup.)
3.in rpg maker mv ,you can use javascript command :

var audio = document.createElement("audio");
audio.src = "yourfile.mp3";
audio.play();

var audio = new Audio("yourfile.mp3");
audio.play();
————————————————————————————
About audio command,you can use command more that:
//play
audio.play();

//pause
audio.pause();

//stop
audio.pause();
audio.currentTime = 0;

//replay
audio.currentTime = 0;
audio.play();

Or you can use jQuery.js , if you want use 'loop'.^_^

download https://pan.baidu.com/s/1JxcTAG_iP82jVHlhAxQRKg

————————————我是华丽的分割线——————————————
中文版说明:本说明由夏亚编写。
QQ308967459

一切的前提是,必须是1.6.1版本!!!!
一切的前提是,必须是1.6.1版本!!!!
一切的前提是,必须是1.6.1版本!!!!
重要的事情要说三遍!

下载最下面的文件,将里面的ffmpeg.dll放入RPG Maker MV 目录的nwjs-win-test和nwjs-win中覆盖原文件(可以备份)
下面举一些例子,自行研究播放方法。

1.通过pause()和play()方法可以使音乐暂停和继续播放

//播放(继续播放)
audio.play();

//暂停
audio.pause();

//停止
audio.pause();
audio.currentTime = 0;

//重新播放
audio.currentTime = 0;
audio.play();

2,动态的创建<audio>元素

//方式1
var audio = document.createElement("audio");
audio.src = "你的音乐.mp3";
audio.play();//这里可以使用上面的命令。比如自动重复播放什么的。

//方式2
var audio = new Audio("你的音乐.mp3");
audio.play();

3.关于重复播放
你可以使用jQuery.js的相关接口自行研究自动重复播放的方法。

下载地址:度盘 https://pan.baidu.com/s/1JxcTAG_iP82jVHlhAxQRKg

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,469
Members
137,821
Latest member
Capterson
Top