Advance Text ReaderVersion 1.0
by Woratana
Release Date: 16/02/2008
IntroductionThis script will allow you to read text file,
and decorate it to make text more interesting!
FeaturesCODE
+[Features in Version 1.0]+
** Start Read Text File by call script:
$scene = Text_Reader.new("filename with file type")
** Custom Folder for Text File
You can change Text File's folder at line:
TEXT_FOLDER = "folder you want"
Screenshot
This is text file I used for this screenshot:
CODE
[cen][b]Show Text in Center
[/b]No Bold Text here!! *O*
[i][right]Try italic text...
[left][b]Italic with bold ^w^
This script released on 16/02/2008
Version [1.0]
[cen]Advance Text Reader
by
[/i]Woratana
[b][woratana@hotmail.com]
I will glad to hear any comment and suggestion
about this script!
TEST
TEST
TEST
ScriptPlace it above main.
Version 1.0
advtextreader10xp.txt ( 5.75K )
Number of downloads: 130InstructionQUOTE
** Start Read Text File by call script:
$scene = Text_Reader.new("filename with file type")
* For example, you want to read file "test.txt", call script:
$scene = Text_Reader.new("text.txt")
** Custom Folder for Text File
You can change Text File's folder at line:
TEXT_FOLDER = "folder you want"
"" << for no folder, text file should be in your game's folder.
"Files/" << for folder "Your Game Folder > Files"
"Data/Files/" << for folder "Your Game Folder > Data > Files"
CODE
+[Configuration]+
OPEN_SPEED = Speed when Reader Window is Opening/Closing
SCROLL_SPEED = Speed when player Scroll Reader Window up/down
TEXT_FOLDER = Folder for Text Files
e.g. "Data/Texts/" for Folder "Your Project Folder > Data > Texts"
CODE
+[Decorate Text]+
You can decorate your text by following features:
[b] << Bold Text
[/b] << Not Bold Text
[i] << Italic Text
[/i] << Not Italic Text
[s] << Text with Shadow
[/s] << Text without Shadow
[cen] << Show Text in Center
[left] << Show Text in Left side
[right] << Show Text in Right side
[re] << Reset Text to be Not Bold & Not Italic
* Note: Don't put features that have opposite effects in same line...
For example, [b] that make text bold, and [/b] that make text not bold
* Note2: The decoration effect will be use in the next lines,
Until you use opposite effect features... For example,
[b]text1
text2
[/b]text3
text1 and text2 will be bold text, and text3 will be thin text.
Author's NotesFree for use in your non-commercial work if credit included. If your project is commercial, please contact me.
Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.