How do I make a character only speak in italics?

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
Xapper
Newbie
Posts: 2
Joined: Sun Feb 01, 2015 2:19 pm
Contact:

How do I make a character only speak in italics?

#1 Post by Xapper »

Right... As you can probably tell, I'm new to the world of programming and Ren'py.
I know how to make any piece of text that any character speaks to be in italics, but I want to create a character who only speaks in italics, in order to show the character's thoughts.
I've attempted to do this myself, but I've only made the character's name appear in italics XD

Oh, and if you don't mind, I'd like a step by step explanation to show what somethings does.
Thank you very much in advance!

User avatar
Donmai
Eileen-Class Veteran
Posts: 1962
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: How do I make a character only speak in italics?

#2 Post by Donmai »

No time for testing now, but look here and see if it works for you:
http://lemmasoft.renai.us/forums/viewto ... 68#p104568

Edit: Okay, did a test and

Code: Select all

define narrator = Character(None, what_italic=True)
worked fine.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Xapper
Newbie
Posts: 2
Joined: Sun Feb 01, 2015 2:19 pm
Contact:

Re: How do I make a character only speak in italics?

#3 Post by Xapper »

Donmai wrote:No time for testing now, but look here and see if it works for you:
http://lemmasoft.renai.us/forums/viewto ... 68#p104568

Edit: Okay, did a test and

Code: Select all

define narrator = Character(None, what_italic=True)
worked fine.
Thank you very much.
Sorry for asking a question that has already been answered.

Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Nightpxel