Making a VN like a book

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
User avatar
Keul
Regular
Posts: 49
Joined: Wed May 06, 2009 3:42 am
Location: France - Strasbourg
Contact:

Making a VN like a book

#1 Post by Keul » Wed May 30, 2012 8:36 am

Hello,

I've created a VN in nvl mode but the text on top of the background images is hard to read.

I'd like to place the text like in a book, on the left side, and to display the images on the right.

I know it's possible with style.nvl_window.xpadding, style.nvl_window.ypadding, but the thing is that I want to swap them to add more dynamism.

Is it possible with normal dialog box to "stack" text like in nvl mode? Maybe i'll try something with that.

Thanks for replies.

User avatar
Keul
Regular
Posts: 49
Joined: Wed May 06, 2009 3:42 am
Location: France - Strasbourg
Contact:

Re: Making a VN like a book

#2 Post by Keul » Wed May 30, 2012 9:18 am

OK, problem solved (my VN is in 1280x720):

Code: Select all

define a = Character(
    ctc_pause=anim.Blink("images/interface/ctc-logo-bleu.png"),
    ctc=anim.Blink("images/interface/ctc-logo-bleu.png"),
    window_right_margin=640,
    window_yminimum=720)
define b = Character(
    ctc_pause=anim.Blink("images/interface/ctc-logo-bleu.png"),
    ctc=anim.Blink("images/interface/ctc-logo-bleu.png")
    , window_left_margin=640,
    window_yminimum=720))
Don't forget to use ctc_pause for the CTC
I use \n and {p} to return and emulate the pause.

Code: Select all

    
    a "blabla
    {p}blabla
    {p}blabla"
    
    b "blabla
    
    {p}\nblabla
    
    {p}\nblabla"

Post Reply

Who is online

Users browsing this forum: Ocelot