I have a question about Images

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
JoeyAlex
Newbie
Posts: 9
Joined: Tue May 29, 2018 12:26 pm
Completed: None yet.
Projects: I am working on Tears, a depressive novel.
Organization: Coder?
Contact:

I have a question about Images

#1 Post by JoeyAlex » Tue May 29, 2018 12:31 pm

So... I would like to know the image size I need make my images so they fit the screen perfectly.

https://imgur.com/gallery/tJLfhKo

This. What is the size?
Joey Alex, Gay

User avatar
Donmai
Eileen-Class Veteran
Posts: 1880
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
Projects: Slumberland
Location: Brazil
Contact:

Re: I have a question about Images

#2 Post by Donmai » Tue May 29, 2018 3:22 pm

At the start of your gui.rpy you will see something like this:

Code: Select all

## Calling gui.init resets the styles to sensible default values, and sets the
## width and height of the game.
init python:
    gui.init(1280, 720)
The numbers between parenthesis are the width and height of your screen in pixels. That's the size and proportions your background images should be.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Taleweaver
Writing Maniac
Posts: 3428
Joined: Tue Nov 11, 2003 8:51 am
Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
Organization: Tall Tales Productions
Location: Germany
Contact:

Re: I have a question about Images

#3 Post by Taleweaver » Wed May 30, 2018 2:06 am

Moved to Ren'Py Questions.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of Daemonophilia
Scriptwriter and director of The Dreaming
Scriptwriter of Zenith Chronicles
Scriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is Dead
Scriptwriter and producer of Adrift
More about me in my blog
"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]