Resizing frame

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
Vilesnic
Newbie
Posts: 2
Joined: Wed Jun 06, 2018 9:32 am
Tumblr: vilesnice
Deviantart: makany
Contact:

Resizing frame

#1 Post by Vilesnic »

Is there any way to specify the size of one frame?


I used this code

Code: Select all

frame:

                add"info.png"
                vbox:
                

                   text"blla"
                  
But the frame kind of stretches out of the screen, causing this.
problem.PNG
Everything would fit, if I use a hbox or vbox, but then I couldn't have a background for my text.

DannX
Regular
Posts: 99
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: Resizing frame

#2 Post by DannX »

Vilesnic wrote: Tue Oct 02, 2018 8:29 am Is there any way to specify the size of one frame?
You can try giving it a size property, like xsize, ysize, or xysize:

Code: Select all

frame:
	xsize 400
	ysize 600

Post Reply

Who is online

Users browsing this forum: Google [Bot], tim640