原文:
Galv's Roll Credits
----------------------------------------------------------------------------
This plugin uses external text files to control what text is displayed when
calling a "Roll Credits" style scene. This text file contains tags to set
how text blocks will display (eg. scroll or fade in/out).
REQUIRED TAGS:
Text must be placed inside the following tag and you can have multiple of
these tages in the same .txt file to make each block of text display in
a different way.
<block:time,scroll,fadeIn,fadeOut,ypos,align,image>
your text here
</block>
time = amount of time text within tag is displayed before the next tag.
this can be -1 for auto
scroll = how fast the text scrolls. negative for up, positive for down
fadeIn = how fast the tag text fades in (make this 255 to instant appear)
fadeOut = how fast the tag text fades out (255 to instant disappear)
ypos = the starting y position of the block of text on screen. This can
be a pixel value or you can use offtop or offbot to have the text
begind offscreen (so you can scroll it on)
align = left,center or right
image = image name in /img/titles1/ folder to use as background. Leave
this out to use the previous image.
----------------------------------------------------------------------------
SCRIPT CALL
----------------------------------------------------------------------------
Galv.CRED.start("filename"); // filename of .txt file located in the
// folder you chose in the settings
// if no filename specified or if run
// directly using SceneManager.push,
// then it will use "Credits.txt"
----------------------------------------------------------------------------
NOTE: For other scripts, the credit scene is called:
Scene_Credits
----------------------------------------------------------------------------
翻译:
Galv的Roll Credits
-------------------------------------------------- --------------------------這個插件使用外部文本文件來控制什麼時候顯示文本稱為“Roll Credits”風格場景。此文本文件包含要設置的標籤文本塊將如何顯示(例如滾動或淡入/淡出)。要求的標籤:
文本必須放在下面的標籤中,並且可以有多個這些文件在相同的.txt文件中顯示每個文本塊一種不同的方式。<塊:時間,滾動,淡入,淡出,ypos,對齊,圖像>
在這輸入文字 </塊>時間=標籤內文本的時間量顯示在下一個標籤之前。
對於自動,這可以是-1滾動=文本滾動的速度。負面向上,積極向下fadeIn =標籤文本淡入的速度(使該255瞬間出現)fadeOut =標籤文本淡出速度有多快(255瞬間消失)ypos =屏幕上文字塊的起始y位置。這個可以 是一個像素值,或者您可以使用offtop或offbot來獲取文本 請求脫屏(所以你可以滾動它)align = left,center或rightimage /圖像名稱在/ img / titles1 /文件夾中用作背景。離開 這齣來使用以前的圖像。-------------------------------------------------- -------------------------- SCRIPT CALL-------------------------------------------------- --------------------------Galv.CRED.start(“文件名”); //位於.txt文件中的.txt文件的文件名
//您在設置中選擇的文件夾 //如果沒有指定文件名或運行 //直接使用SceneManager.push, //然後它將使用“Credits.txt”-------------------------------------------------- --------------------------
注意:對於其他腳本,信貸場景被稱為:Scene_Credits-------------------------------------------------- --------------------------