Save-Point
Text Variations v.2 - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Archives (https://www.save-point.org/forum-105.html)
+--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html)
+---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html)
+----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html)
+----- Thread: Text Variations v.2 (/thread-6798.html)



Text Variations v.2 - Tsunokiette - 11-23-2005

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


This script lets you draw text in different ways.

Draw Text like this-

Code:
self.contents.draw_text(x,y,w,h,text,align,type)

or like this using the Rect.new function (wasn't supported in version 1)

Code:
self.contents.draw_text(rect,text,align,type)

type = how text should be shown. automaticly set to 0

0 = Normal
1 = Outlined
2 = Shadowed
3 = Outlined + Shadowed
4 = 3d
5 = 3d + Shadowed
6 = Blue Outline

Version 4 tests a new method I saw to define the original color, now you don't have to.

Here is the script-

Text Variations V.4