negative newline_indent

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
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

negative newline_indent

#1 Post by Gumaster »

I played around with the newline_indent for a while, and with these settings:

Code: Select all

    style.default.first_indent = 7
    style.default.rest_indent = 7
    style.default.newline_indent = True
    #Nothing changes if I use style.default.newline_indent = False instead of True
got this:

Code: Select all

  Sample sentence
Sample sentence2
Sample sentence3 that
  runs onto the next
  few lines.
This is kinda the opposite of what I want, which is:

Code: Select all

  Sample sentence
  Sample sentence2
  Sample sentence3 that
runs onto the next
few lines.
While this can somewhat be achieved by using a negative rest_indent, the start of the lines gets cut off (I'm guessing this is because the negative indent puts them outside the area which they should be shown). Is there some other way I can generate this effect, other than manually spacing everything?

Post Reply

Who is online

Users browsing this forum: Google [Bot]