Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ATP(Advanced Text Paragrapher)
#1
ATP(Advanced Text Paragrapher)
by Samo, The thief
V1.0
Apr 5 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.


I will make Easier the life of many scripters with this. This script transforms a really
long script in a paragraph(like a loong description.)
Maybe you won't be too much impressed with this. I use this in My RTBS for the dialogs
and descriptions. Dialogs are very difficult, so this makes thing really easy!



CODE:
-----
here it is:
WINDOW_BASE VERSION
ATP COde. Click Here!


BITMAP VERSION
ATP COde. Click Here!




INSTRUCTIONS:
-------------
Ok, Something of The Scripters do normally to draw a text in form of a paragraph is
doing an array [] that contains each line. The Time Has come For
This Microsoft Word Effect!
This Script Just need a Long String and it will paragraph it!

How to call it?

paragraph = str_paragraph(string, width of the paragraph.)

Example :

@my_paragraph = str_paragraph("La la la la la la la la la , This is a Looooong Strriiiing!", 120)


Returns an Array with each line separately.

How to draw it?

draw_paragraph(x,y,width,height, paragraph)

width and height for each line, not for the paragraph.

.::-NOTE-::.

If you put a ' ^ '(must be between spaces), the text will pass to the next line.
This Symbol Won't be drawed.






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
  Draw Text Outline method stupidstormy36 0 2,138 03-16-2008, 01:00 PM
Last Post: stupidstormy36
  Loading/Serial Advanced Cheeseman 0 2,235 12-15-2007, 01:00 PM
Last Post: Cheeseman



Users browsing this thread: