设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MZ 讨论区 › One Line Battle Message Plugin (Updated With New Parameters)-8.jpg

One Line Battle Message Plugin (Updated With New Parameters)-8.jpg

 

One Line Battle Message Plugin (Updated With New Parameters):
Remember the SimpleMsgSideView plugin that programmed the Battle Log Window for RPG Maker MV to display the battle log/message as a single line message but only for the side-view battle?  The OneLineBattleMessage plugin is similar to that plugin, but unlike the other plugin, the OneLineBattleMessage will work with the front-view battle and the side-view battle.  Here are the screenshots of the plugin in action during the front-view battle:







Now, here are the screenshots of the plugin in action during the side-view battle:







The plugin will also let you change the message speed (from 0 to 30) as well as change the window skin image (which should be in the same graphic format as the Window image file unless you choose to have no window displayed behind the text).  For the load window skin function, I created that type of function that's exclusive to the plugin.  I personally don't think that there's any risk of having a complete override to the loadWindowskin function for this plugin, but just to be on the safe as you never know if someone will create a plugin that may rely on the window properties from the Battle Log Window, I decided to create a function that's not a complete override to the loadWindowskin function as a precaution against any potential conflict with other plugins.  Here's the screenshot of the plugin:





The plugin is copyleft and open-source, so there's no need for you to give me credit for the plugin and you are free to modify the plugin if you wish to do so.  Here's the code for the plugin:

Spoiler: ONE LINE BATTLE MESSAGE PLUGIN CODE
                JavaScript:       


In addition to the code, I'll be attaching the OneLineBattleMessage plugin to this post.  If I notice that there's any mistake or error in the plugin that I may have overlooked, then I'll update the code and upload the plugin attachment with the fix(es).

UPDATE: I have added more parameters/features to the plugin, and as a result, I uploaded the updated plugin as well as copy/pasted the updated code for the plugin under the spoiler tag above and replaced an earlier screenshot of the plugin with a new screenshot of the plugin.  The Message Speed parameter is still a standalone parameter, but Window is now part of the BL (Battle Log) Window Properties structure with three other parameters on that structure.




In addition to the BL Window Properties structure, there is also the BL Font Properties structure, which handles the font properties.




Finally, there are two new standalone parameters: Text Alignment and Constant Window Openness.  The Text Alignment allows you to choose between Center alignment and Left alignment for the text, while Constant Window Openness is for the ones that prefer for the Battle Message Window to stay constantly open during the battle turn instead of it opening when there's text and closing when there's no text.






Let me know if you have any question about one of the parameters, please!  For now, here's a screenshot that shows the plugin making use of couple of its new parameters/features.





本贴来自国际rpgmaker官方论坛作者:Lion Blade Soler处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/one-line-battle-message-plugin-updated-with-new-parameters.128178/
One Line Battle Message Plugin (Updated With New Parameters)-8.jpg
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-6 00:07 , Processed in 0.102170 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部