
MBS - Async Movies (1.0.2)
by Masked
Introduction
This plugin allows you to play movies as a asynchronous task, this way you can still control the game behavior via events.
How to use
Save the plugin in a .js file on your game's js/plugins folder , there's no need to write the exact script name thanks to this workaround.
Here's a sample usage for this script:
Spoiler
This will play the video and wait for it to end or the player to press the ok button, pretty useful for skippable cutscenes.
Further information on plugin help.
Script
GitHub: https://github.com/MaskedRpg/JS/blob/master/mv/MBS_AsyncMovies.js
Raw code: https://raw.githubusercontent.com/MaskedRpg/JS/master/mv/MBS_AsyncMovies.js
Credits
- Masked, for creating
本贴来自国际rpgmaker官方论坛作者: Masked 处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址: https://forums.rpgmakerweb.com/threads/mbs-async-movies.55926/ |