can't use centered text

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
wtfman
Regular
Posts: 33
Joined: Sat Mar 30, 2013 7:26 pm
Contact:

can't use centered text

#1 Post by wtfman » Sat Dec 06, 2014 2:05 am

http://i.imgur.com/d3Np4Eo.png

I used centered text, but text is displayed in corner of screen, like this.

but when i use it making new project, it works correctly. why does it happen?

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: can't use centered text

#2 Post by Donmai » Sat Dec 06, 2014 9:10 am

You did not show your code, but I believe you need to use xalign to center the block of text and text align to center the text itself.
http://www.renpy.org/doc/html/style_pro ... properties
If you are using the 'centered' character, check what version of Ren'Py you are using. I think I heard some versions ago there were problems.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]