Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Catherine

Ccoa UMS problem--automatic closing and text justification error?

Question

Hey there~!

 

I've been working on my game when I came across an error using Ccoa's UMS. I believe it's the 1.8.0 version.

 

I've been using the \w feature that automatically closes your text box after frames. It was working fine with the text justification was to the left, but when I entered the script command 

$game_system.text_justification = CENTRE

... that's where I run into problems.

 

The script doesn't like using centred text with the \w command. It either shuts down the game automatically or gives me a script error on line 2204, which reads:

 w = self.contents.text_size(@text.split("\n")[0]).width

This is a huge problem for me, since I'm running the cutscene with the text box in the middle, with all the text centred. To have to realign the text to the left again before entering the line I want to use \w with would look awful.

 

Does anyone know how to fix this problem? I'd really appreciate it if anyone could help me!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hey dude it's not really a huge problem. That command should be like this :

$game_system.text_justification = CENTER

You just spelled it wrong! It's "Center" not "Centre"

I've tested it and I had no problem.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...