Making text appear on a different part of the screen(Solved)

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
Zogunplex
Regular
Posts: 25
Joined: Sat Jun 04, 2011 3:23 pm
Projects: Dark Caravan
Location: USA
Contact:

Making text appear on a different part of the screen(Solved)

#1 Post by Zogunplex »

Hey-ho howdy do,

I'm a greenie here :mrgreen: trying to figure out how to make text appear at the side of the screen instead of down at the bottom of the screen or filling up the whole screen like in NVL mode. I've looked around the forums trying to find an answer to my question (usually the other threads are extremely helpful when I have questions), but I've found that in this particular instance I just need to ask, since it's so specific.

This is where I want the text to appear. Does anyone know how I can code the game to make the text appear in this part of the screen?

Many thanks for being awesome and helping out folks like me here in the forum!
Attachments
Sea Cliffsidestext.jpg
Last edited by Zogunplex on Thu Jul 07, 2011 5:37 pm, edited 1 time in total.
Image
Shameless Plug for My Game Forum: http://zgforums.proboards.com/index.cgi

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Making text appear on a different part of the screen

#2 Post by Alex »

Well, edit several lines in "options.rpy" of your game (lines about 100 - 120)

Code: Select all

    style.window.yalign = 0.2
    style.window.left_margin = 10
    style.window.right_margin = 500
    style.window.yminimum = 450

Zogunplex
Regular
Posts: 25
Joined: Sat Jun 04, 2011 3:23 pm
Projects: Dark Caravan
Location: USA
Contact:

Re: Making text appear on a different part of the screen

#3 Post by Zogunplex »

Thank you so much! That's just what I needed.

Nice eyebrows, btw. ^-^
Image
Shameless Plug for My Game Forum: http://zgforums.proboards.com/index.cgi

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Jackkel Dragon