じ☆ve冰风 发表于 2026-8-3 09:31:33

AlertWindow ACE

AlertWindow ACE
versions 1.2.0 & 0.8.0

by Kyonides​

Introduction

There was a forumer that "stubbornly" wanted to use pop up windows that looked pretty much like VX ACE's default Window_MapName class. This means that it would show up the same way the map name does.

Obviously, it will not be triggered after a map transfer for obvious reasons.


Just in case you did not know this, my script allows you to pass either a single line of text or an Array of lines as its first parameter.


Don't worry, my friends! The rest of the parameters are totally optional!


Convenient Features

You can set an additional button to close the alerts.
\gs gets replaced by the corresponding game switch, i.e. ON or OFF.
\v gets replaced by the corresponding game variable.
Set the Alert Window's Coordinates: $game_system.set_alert_xy(X, Y)

Examples for Passing a Single Line of Text:

                Ruby:       
pop_up("Some text")
Alert.add("Some text")


Examples for Passing 2+ Lines of Text:

                Ruby:       
texts = ["Line1", "Line2"]
pop_up(texts)
Alert.add(texts)


Optional Parameters:

                Ruby:       
pop_up(text, 60)
Alert.add(text, frames, 60)


                Ruby:       
pop_up(text, 60, 120, 1, 80)
Alert.add(text, 60, 120, 1, 80)


...and a few other arguments.


DOWNLOAD DEMO
Either 1.2.0 or 0.8.0​

Terms & Conditions

Free for use in ANY game.

Due credit is mandatory.

That's it!



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