[Solved] How do I place this text in the write place?

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
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

[Solved] How do I place this text in the write place?

#1 Post by Nanahs »

In a screen like this:

Code: Select all

screen text1:
    text "TEXT HERE" size 20 xpos 10 ypos 413  
It looks like:

Image

I wanted some "limit space" between the text and the screen corners.

Image

Thanks.
Last edited by Nanahs on Tue Feb 12, 2019 11:09 am, edited 1 time in total.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: How do I place this text in the write place?

#2 Post by Per K Grok »

Nanahs wrote: Mon Feb 11, 2019 10:13 am In a screen like this:

Code: Select all

screen text1:
    text "TEXT HERE" size 20 xpos 10 ypos 413  
It looks like:

Image

I wanted some "limit space" between the text and the screen corners.

Image

Thanks.
Try this

Code: Select all

screen text1:
    frame:
        xpadding 10
        ypadding 60
        text "TEXT HERE" size 20


User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

Re: How do I place this text in the write place?

#3 Post by Nanahs »

Per K Grok wrote: Mon Feb 11, 2019 1:47 pm
Nanahs wrote: Mon Feb 11, 2019 10:13 am In a screen like this:

Code: Select all

screen text1:
    text "TEXT HERE" size 20 xpos 10 ypos 413  
It looks like:

Image

I wanted some "limit space" between the text and the screen corners.

Image

Thanks.
Try this

Code: Select all

screen text1:
    frame:
        xpadding 10
        ypadding 60
        text "TEXT HERE" size 20

Thank you so much! :)

Post Reply

Who is online

Users browsing this forum: No registered users