Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advanced Text Effects Script (ATE)
#1
Advanced Text Effects Script (ATE) V1.0
by Samo, the thief.
Mar 8 2007


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.


Hey! are you tired of putting the same draw text four times more with a x-1
or something like that when trying to do an outline.
Maybe you do a window_base new method called draw_text_outline.
Well, i have a faster way with the smallest script i ever written.
All you have to do is to put after drawing a text, a string.
if you want a bisel, an outline, a shadow. See the Demo for more info

Code
----

here it is:

code

INSTRUCTIONS:
-------------
Quote:This script will evitate you doing your methods of special drawing text manually.
You will be able to do an outline, a shadow, and something else, by only putting
when you draw the text:
(x,y,width,height,str,align,method)
Name Description Type
x x coordinate Integer
y y coordinate Integer
width width Integer
height height Integer
str string Integer
align alignment: Integer
Like in Micro Word
0 Left, 1 Medium,
2 Right.
method The Method That String
will indicate
what we want.
Look Down for a List.
In a Normal window, a draw_text with outline should be like this:

self.contents.draw_text(60,45,120,32,"Thanks Outline Script! Now i look Better!", 1, 'outline')

List of Methods:

'outline'
'Shadow Wide'
'Shadow Small'
'Selected Item'
'Light Bisel'
'Small Bisel'
'Medium Bisel'


This also comes with a message system(if you don't like it, just erase the part
of Window_Mesagge)

The message System Works in this Way. There are especial Characters that will
define the type of effect to apply. Just put them, they will appear invisible:

~ No method is used in the message. It makes special characters appear.
@ Outline
# Small Shadow
$ Big Shadow
% Selected Item
^ Light Bisel
& Small Bisel
* Medium Bisel
` Text is Drawn Normally, text effects can appear in the message.

Enjoy the script and give me the credit. Replies please! What do you think of this?

Samo, the thief.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Advanced MessageBox from the OS Maumau 0 2,438 11-25-2008, 01:00 PM
Last Post: Maumau



Users browsing this thread: