Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> How can I center text in text messages?
Xanster82
post May 23 2012, 06:12 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 26
Type: Developer
RM Skill: Skilled




Is there a way to center text in text messages? I tried using Modern Algebra's text message script (ATS: Formatting) linked here:
http://rmrk.net/index.php/topic,44964.0.html

Well, it worked in regular text messages but when I tried to use it for Scrolling Text, all the text would appear on one line opposed to being centered and spaced. Even with no coding in the scroll text box, all the text appears on one line.

Any way to fix this? Any other ways or scripts to center text (besides manually)?

Thanks!
Go to the top of the page
 
+Quote Post
   
Night_Runner
post May 24 2012, 04:37 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,519
Type: Scripter
RM Skill: Undisclosed




How do you have MA's script set up? I installed it and set ats_alignment to 1, and it works ad I'd expect, returning to a new line when it's long enough and centre's the text for the line.

If you put the script in a new project without any other scripts, does it still have formatting issues?


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
Xanster82
post May 24 2012, 12:49 PM
Post #3


Level 2
Group Icon

Group: Member
Posts: 26
Type: Developer
RM Skill: Skilled




It only works if I put in a script call before the text "ats_next(:paragraph_format, false)"

It centers the text but it still doesn't look quite centered to me. (Maybe because I am using the 640 x 480 res) ?

Is there a credits script for Ace anywhere that I can use? I find using a script would be a lot easier and simpler.

This post has been edited by Xanster82: May 24 2012, 01:57 PM
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 04:31 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker